-
Notifications
You must be signed in to change notification settings - Fork 15
Start cleaning up unused imports #1035
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| from typing import List, Sequence, Tuple | ||
| from typing import List, Tuple | ||
|
|
||
| import numpy as np | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| from encord.http.constants import RequestsSettings | ||
| from encord.http.constants import RequestsSettings as RequestsSettings | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,20 +5,8 @@ | |
| from typing import Any, Dict, List, Union | ||
|
|
||
| from encord.common.enum import StringEnum | ||
| from encord.objects.attributes import ( # pylint: disable=unused-import | ||
| Attribute, | ||
| ChecklistAttribute, | ||
| RadioAttribute, | ||
| TextAttribute, | ||
| ) | ||
|
|
||
| # Following imports need to be here for backwards compatibility | ||
| from encord.objects.ontology_element import NestedID # pylint: disable=unused-import | ||
| from encord.objects.options import ( # pylint: disable=unused-import | ||
| FlatOption, | ||
| NestableOption, | ||
| Option, | ||
| ) | ||
|
Comment on lines
14
to
-21
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These imports were marked with |
||
|
|
||
|
|
||
| class PropertyType(StringEnum): | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1 @@ | ||
| # Import for backward compatibility | ||
| from encord.orm.project import ProjectDataset | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,4 @@ | ||
| import datetime | ||
| import json | ||
| import logging | ||
| from collections import OrderedDict, abc | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.