Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow function get (ie factory) requests to build up custom callables depending on what the caller provides #1

Open
Ricyteach opened this issue Jul 7, 2022 · 0 comments
Labels
api: semantic Deals with the higher-level, human-understandable interface

Comments

@Ricyteach
Copy link
Owner

Idea came up in context of what a get_GCp ("give me a callable that calculates a GCp") callable factory should return.

Maybe:

f1 = asce7.get.GCp()
f2 = asce7.get.GCp(roof_type="gable")
f3 = asce7.get.GCp(roof_type="gable", slope="7d")

Each returns a callable (a partial?) with a different calling contract.

@bskinn bskinn added the api: semantic Deals with the higher-level, human-understandable interface label Jul 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: semantic Deals with the higher-level, human-understandable interface
Projects
None yet
Development

No branches or pull requests

2 participants