Represents the current location (URL) Analogous to, but not necessarily identical to, the client-side ``document.location`` object.
| 60 | |
| 61 | @dataclass |
| 62 | class Location: |
| 63 | """Represents the current location (URL) |
| 64 | |
| 65 | Analogous to, but not necessarily identical to, the client-side |
| 66 | ``document.location`` object. |
| 67 | """ |
| 68 | |
| 69 | pathname: str |
| 70 | """the path of the URL for the location""" |
| 71 | |
| 72 | search: str |
| 73 | """A search or query string - a '?' followed by the parameters of the URL. |
| 74 | |
| 75 | If there are no search parameters this should be an empty string |
| 76 | """ |
no outgoing calls