FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Correct declared Python support and accept the 'id' field by caglarpir · Pull Request #184 · mapillary/mapillary-python-sdk · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (2) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
9 changes: 3 additions & 6 deletions setup.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
)
LONG_DESCRIPTION_CONTENT_TYPE = "text/markdown"
URL = "https://github.com/mapillary/mapillary-python-sdk"
REQUIRES_PYTHON = ">=3.0"
REQUIRES_PYTHON = ">=3.10"
HERE = os.path.abspath(os.path.dirname(__file__))
REQUIREMENTS = [
"mapbox-vector-tile>=2.1.0",
Expand All @@ -58,14 +58,11 @@
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
PROJECT_URLS = {
"Download": "https://pypi.org/project/mapillary/#files",
Expand Down
8 changes: 5 additions & 3 deletions src/mapillary/config/api/entities.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ def get_image_fields() -> list:
"""

return [
"id",
"altitude",
"atomic_scale",
"camera_parameters",
Expand Down Expand Up @@ -441,6 +442,7 @@ def get_map_feature_fields() -> list:
"""

return [
"id",
"first_seen_at",
"last_seen_at",
"object_value",
Expand Down Expand Up @@ -490,7 +492,7 @@ def get_detection_with_image_id_fields() -> list:
:rtype: list
"""

return ["created_at", "geometry", "image", "value"]
return ["id", "created_at", "geometry", "image", "value"]

@staticmethod
def get_detection_with_map_feature_id(
Expand Down Expand Up @@ -533,7 +535,7 @@ def get_detection_with_map_feature_id_fields() -> list:
:rtype: list
"""

return ["created_at", "geometry", "image", "value"]
return ["id", "created_at", "geometry", "image", "value"]

@staticmethod
def get_organization_id(
Expand Down Expand Up @@ -574,7 +576,7 @@ def get_organization_id_fields() -> list:
:rtype: list
"""

return ["slug", "name", "description"]
return ["id", "slug", "name", "description"]

@staticmethod
def get_sequence(
Expand Down
Loading

Back | FazBrowse Home | New Git URL