GoogleCloudPlatform / functions-framework-python

FaaS (Function as a service) framework for writing portable Python functions
https://pypi.org/p/functions-framework/
Apache License 2.0
875 stars 118 forks source link

fix: modify type check to accept Callable (#317) #318

Open junah201 opened 7 months ago

junah201 commented 7 months ago

This PR updates the type check in the get_user_function function within _function_registry.py to accept callable object instead of only types.FunctionType.

Please refer to #317 for more details.

And I already submit a CLA.