1- from implicitdict import ImplicitDict
1+ from implicitdict import ImplicitDict , Optional
22
33from monitoring .monitorlib .geotemporal import Volume4D
44from monitoring .monitorlib .infrastructure import AuthSpec
@@ -45,7 +45,7 @@ class F3548ObservationArea(ImplicitDict):
4545 poll : bool
4646 """This area observes by periodically polling for information."""
4747
48- subscription_id : str | None = None
48+ subscription_id : Optional [ str ] = None
4949 """The F3548 subscription ID established to provide observation via notifications."""
5050
5151
@@ -58,10 +58,10 @@ class ObservationArea(ImplicitDict):
5858 area : Volume4D
5959 """Spatial-temporal area being observed."""
6060
61- f3411 : F3411ObservationArea | None = None
61+ f3411 : Optional [ F3411ObservationArea ] = None
6262 """How F3411 information is being observed (or not observed, if not specified)."""
6363
64- f3548 : F3548ObservationArea | None = None
64+ f3548 : Optional [ F3548ObservationArea ] = None
6565 """How F3548 information is being observed (or not observed, if not specified)."""
6666
6767 @property
@@ -75,12 +75,12 @@ def polls(self) -> bool:
7575class F3411ObservationAreaRequest (ImplicitDict ):
7676 """How to observe F3411 activity."""
7777
78- auth_spec : AuthSpec | None = None
78+ auth_spec : Optional [ AuthSpec ] = None
7979 """If specified, use this auth spec when performing observation activities.
8080
8181 If not specified or blank, use auth spec provided on the command line."""
8282
83- dss_base_url : str | None = None
83+ dss_base_url : Optional [ str ] = None
8484 """If specified, use the DSS at this base URL when performing relevant observation activities.
8585
8686 If not specified or blank, use DSS URL provided on the command line."""
@@ -98,12 +98,12 @@ class F3411ObservationAreaRequest(ImplicitDict):
9898class F3548ObservationAreaRequest (ImplicitDict ):
9999 """How to observe F3548 activity."""
100100
101- auth_spec : AuthSpec | None = None
101+ auth_spec : Optional [ AuthSpec ] = None
102102 """If specified, use this auth spec when performing observation activities.
103103
104104 If not specified or blank, use auth spec provided on the command line."""
105105
106- dss_base_url : str | None = None
106+ dss_base_url : Optional [ str ] = None
107107 """If specified, use the DSS at this base URL when performing relevant observation activities.
108108
109109 If not specified or blank, use DSS URL provided on the command line."""
@@ -127,10 +127,10 @@ class ObservationAreaRequest(ImplicitDict):
127127 area : Volume4D
128128 """Spatial-temporal area that should be observed."""
129129
130- f3411 : F3411ObservationAreaRequest | None = None
130+ f3411 : Optional [ F3411ObservationAreaRequest ] = None
131131 """How to observe F3411 (NetRID) activity."""
132132
133- f3548 : F3548ObservationAreaRequest | None = None
133+ f3548 : Optional [ F3548ObservationAreaRequest ] = None
134134 """How to observe F3548 (strategic coordination, conformance monitoring, and constraints) activity."""
135135
136136 @property
@@ -168,7 +168,7 @@ class ImportObservationAreasRequest(ImplicitDict):
168168 area : Volume4D
169169 """Spatial-temporal area containing subscriptions to be imported."""
170170
171- f3411 : RIDVersion | None = None
171+ f3411 : Optional [ RIDVersion ] = None
172172 """If specified, search for subscriptions using this F3411 version."""
173173
174174 f3548 : bool = False
0 commit comments