pygeodes.utils.decorators.requires_api_key#

pygeodes.utils.decorators.requires_api_key(_func: Callable | None = None, bypass_with_s3_credentials: bool = False)[source]#

This decorator, on a Provider method, makes an api_key mandatory for this method, and raises an error if the provider config does not contain any api_key