File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
predicthq/endpoints/v1/saved_locations Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -190,15 +190,13 @@ class Place(PhqModel):
190190
191191
192192class Properties (PhqModel ):
193- """Custom properties for embedding the radius information"""
194-
195- radius : float | None = None
196- radius_unit : RadiusUnit | None = None
193+ radius : Optional [float ] = None
194+ radius_unit : Optional [RadiusUnit ] = None
197195
198196
199197class GeoJson (PhqModel ):
200198 type : Literal ["Feature" ]
201- properties : Properties | None = None
199+ properties : Optional [ Properties ] = None
202200 geometry : Geometry = Field (discriminator = "type" )
203201
204202
@@ -207,15 +205,15 @@ class SavedLocationBase(PhqModel):
207205 name : Optional [str ] = None
208206 description : Optional [str ] = None
209207 labels : Optional [list [str ]] = None
210- geojson : GeoJson | None = None
208+ geojson : Optional [ GeoJson ] = None
211209 place_ids : Optional [list [int ]] = None
212210 formatted_address : Optional [str ] = None
213211
214212
215213class SavedLocation (SavedLocationBase ):
216214 location_id : str
217215
218- share_url : str | None = None
216+ share_url : Optional [ str ] = None
219217
220218 create_dt : datetime
221219 update_dt : datetime
You can’t perform that action at this time.
0 commit comments