Enforces restrictions for functions with a path as their first argument.
def google.appengine.tools.devappserver2.python.stubs.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.devappserver2.python.stubs.RestrictedPathFunction.__call__ |
( |
|
self, |
|
|
|
path, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
Enforces access permissions for the wrapped function.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/tools/devappserver2/python/stubs.py