Skip to content

Commit ea55d0f

Browse files
committed
Fixed documentation warning by removing <class ``> rtype from docstrings
Signed-off-by: Saif Ul Islam <[email protected]>
1 parent 1b0acee commit ea55d0f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/mapillary/models/geojson.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Properties:
3333
:raises InvalidOptionError: Raised when the geojson passed is the invalid type - not a dict
3434
3535
:return: A class representation of the model
36-
:rtype: <class 'mapillary.models.geojson.Properties'>
36+
:rtype: mapillary.models.geojson.Properties
3737
"""
3838

3939
def __init__(self, *properties, **kwargs) -> None:
@@ -109,7 +109,7 @@ class Geometry:
109109
:raises InvalidOptionError: Raised when the geometry passed is the invalid type - not a dict
110110
111111
:return: A class representation of the model
112-
:rtype: <class 'mapillary.models.geojson.Geometry'>
112+
:rtype: mapillary.models.geojson.Geometry
113113
"""
114114

115115
def __init__(self, geometry: dict) -> None:
@@ -163,7 +163,7 @@ class Feature:
163163
:raises InvalidOptionError: Raised when the geojson passed is the invalid type - not a dict
164164
165165
:return: A class representation of the model
166-
:rtype: <class 'mapillary.models.geojson.Feature'>
166+
:rtype: mapillary.models.geojson.Feature
167167
"""
168168

169169
def __init__(self, feature: dict) -> None:
@@ -236,7 +236,7 @@ class GeoJSON:
236236
:raises InvalidOptionError: Raised when the geojson passed is the invalid type - not a dict
237237
238238
:return: A class representation of the model
239-
:rtype: <class 'mapillary.models.geojson.GeoJSON'>
239+
:rtype: mapillary.models.geojson.GeoJSON
240240
241241
Usage::
242242

0 commit comments

Comments
 (0)