url (3)
fsspec_url¶
fsspec_url(string: str | os.PathLike[str]) -> bool
Returns true if the given URL looks like an fsspec protocol, except http/https.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
string
|
str | PathLike[str]
|
The URL to check |
required |
Source code in src/jinjarope/envtests.py
155 156 157 158 159 160 161 162 163 164 165 |
|
http_url¶
http_url(string: str) -> bool
Return true when given string represents a HTTP url.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
string
|
str
|
The string to check |
required |
Source code in src/jinjarope/envtests.py
107 108 109 110 111 112 113 |
|
url¶
url(string: str) -> bool
Return true when given string represents any type of URL.
DocStrings
Parameters:
Name | Type | Description | Default |
---|---|---|---|
string
|
str
|
The string to check |
required |
Source code in src/jinjarope/envtests.py
116 117 118 119 120 121 122 |
|