pysmock.models.Request¶
- class pysmock.models.Request(url: str, headers: Dict[str, str] = None, body: Dict[str, object] = None, params: <module 'pysmock.models.RequestParams' from '/home/docs/checkouts/readthedocs.org/user_builds/pysmock-codegen/checkouts/latest/pysmock/models/RequestParams.py'> = None, generic_fields: Dict[str, str] = None)¶
- __init__(url: str, headers: Dict[str, str] = None, body: Dict[str, object] = None, params: <module 'pysmock.models.RequestParams' from '/home/docs/checkouts/readthedocs.org/user_builds/pysmock-codegen/checkouts/latest/pysmock/models/RequestParams.py'> = None, generic_fields: Dict[str, str] = None)¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(url[, headers, body, params, …])Initialize self.
from_yaml(loader, node)Convert a representation node to a Python object.
to_yaml(dumper, data)Convert a Python object to a representation node.
Attributes
yaml_flow_styleyaml_loaderyaml_tag