Why is it bad practice to pass context directly into helper functions in python?
Example:
def api_build_payload(context=Context, field=str, new_value=Any):
source https://stackoverflow.com/questions/71916022/bad-practice-to-pass-context-directly-into-helper-functions-in-python
Comments
Post a Comment