Enforces access restrictions for functions that have a file or
directory path as their first argument.
def google.appengine.tools.dev_appserver_import_hook.RestrictedPathFunction.__init__ |
( |
|
self, |
|
|
|
original_func |
|
) |
| |
Initializer.
Args:
original_func: Callable that takes as its first argument the path to a
file or directory on disk; all subsequent arguments may be variable.
def google.appengine.tools.dev_appserver_import_hook.RestrictedPathFunction.__call__ |
( |
|
self, |
|
|
|
path, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
Enforces access permissions for the function passed to the constructor.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/dev_appserver_import_hook.py