src/schemathesis/loaders.py
def from_path(
    path: PathLike,
    base_url: Optional[str] = None,
    method: Optional[Filter] = None,
    endpoint: Optional[Filter] = None,
    tag: Optional[Filter] = None,
    *,
    app: Any = None,
) -> BaseSchema:
    """Load a file from OS path and parse to schema instance."""
    with open(path) as fd:
        return from_file(
            fd, location=os.path.abspath(path), base_url=base_url, method=method, endpoint=endpoint, tag=tag, app=app
        )
Load a file from OS path and parse to schema instance.
Load a file from OS path and parse to schema instance.
Load a file from OS path and parse to schema instance .
def from_path(
    path: PathLike,
    base_url: Optional[str] = None,
    method: Optional[Filter] = None,
    endpoint: Optional[Filter] = None,
    tag: Optional[Filter] = None,
    *,
    app: Any = None,
) -> BaseSchema:
    with open(path) as fd:
        return from_file(
            fd, location=os.path.abspath(path), base_url=base_url, method=method, endpoint=endpoint, tag=tag, app=app
        )
def from_path ( path : PathLike , base_url : Optional [ str ] = None , method : Optional [ Filter ] = None , endpoint : Optional [ Filter ] = None , tag : Optional [ Filter ] = None , * , app : Any = None , ) -> BaseSchema : with open ( path ) as fd : return from_file ( fd , location = os . path . abspath ( path ) , base_url = base_url , method = method , endpoint = endpoint , tag = tag , app = app )
Load a file from OS path and parse to schema instance.
Load a file from OS path and parse to schema instance .
"""Load a file from OS path and parse to schema instance."""
path
PathLike
base_url
Optional[str]
method
Optional[Filter]
endpoint
Optional[Filter]
tag
Optional[Filter]
app
Any