class documentation

class EnvironBuilder(werkzeug.test.EnvironBuilder):

View In Hierarchy

An ~werkzeug.test.EnvironBuilder, that takes defaults from the application.
Parameters
appThe Flask application to configure the environment from.
pathURL path being requested.
base​_urlBase URL where the app is being served, which path is relative to. If not given, built from PREFERRED_URL_SCHEME, subdomain, SERVER_NAME, and APPLICATION_ROOT.
subdomainSubdomain name to append to SERVER_NAME.
url​_schemeScheme to use instead of PREFERRED_URL_SCHEME.
jsonIf given, this is serialized as JSON and passed as data. Also defaults content_type to application/json.
*argsother positional arguments passed to ~werkzeug.test.EnvironBuilder.
**kwargsother keyword arguments passed to ~werkzeug.test.EnvironBuilder.
Method __init__ Undocumented
Method json​_dumps Serialize obj to a JSON-formatted string.
Instance Variable app Undocumented
def __init__(self, app, path='/', base_url=None, subdomain=None, url_scheme=None, *args, **kwargs):

Undocumented

Parameters
app:FlaskUndocumented
path:strUndocumented
base​_url:t.Optional[str]Undocumented
subdomain:t.Optional[str]Undocumented
url​_scheme:t.Optional[str]Undocumented
*args:t.AnyUndocumented
**kwargs:t.AnyUndocumented
def json_dumps(self, obj, **kwargs):

Serialize obj to a JSON-formatted string.

The serialization will be configured according to the config associated with this EnvironBuilder's app.

Parameters
obj:t.AnyUndocumented
**kwargs:t.AnyUndocumented
Returns
strUndocumented
app =

Undocumented