-
Notifications
You must be signed in to change notification settings - Fork 68
[PLT-1485] Removed Datatypes #1830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Gabe <33893811+Gabefire@users.noreply.github.com>
…ython into gu/remove_data_types
@@ -40,26 +40,6 @@ def _assign_ids(label: Label): | |||
self._fns["assign_feature_schema_ids"] = _assign_ids | |||
return self | |||
|
|||
def add_url_to_data( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed this function. This is not supported by GenericDataType and I do not think this is relevant any longer. Check doc string for what it does
@@ -91,37 +93,23 @@ def test_adding_schema_ids(): | |||
assert next(generator).annotations[0].feature_schema_id == feature_schema_id | |||
|
|||
|
|||
def test_adding_urls(signer): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed due to removing function
…ython into gu/remove_data_types
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left 2 tiny comments
@@ -232,7 +232,7 @@ def from_common( | |||
name: str, | |||
feature_schema_id: Cuid, | |||
extra: Dict[str, Any], | |||
data: Union[TextData, ImageData], | |||
data: Union[GenericDataRowData], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need Union
here?
@@ -264,7 +264,7 @@ def from_common( | |||
name: str, | |||
feature_schema_id: Cuid, | |||
extra: Dict[str, Any], | |||
data: Union[VideoData, TextData, ImageData], | |||
data: Union[GenericDataRowData], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Union?
Description
Geotile has to stay because it has parameters that are need for the label like zoom level