MCPcopy Index your code
hub / github.com/reactive-python/reactpy / Location

Class Location

src/py/reactpy/reactpy/backend/types.py:62–76  ·  view source on GitHub ↗

Represents the current location (URL) Analogous to, but not necessarily identical to, the client-side ``document.location`` object.

Source from the content-addressed store, hash-verified

60
61@dataclass
62class 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 """

Callers 5

test_use_locationFunction · 0.90
mainFunction · 0.90
model_streamFunction · 0.90
model_streamFunction · 0.90
openMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_use_locationFunction · 0.72