-
Notifications
You must be signed in to change notification settings - Fork 35
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
feat(client): add implementation about class "BasicSearchJob" #1222
Conversation
Pull Request Test Coverage Report for Build 1949687911
💛 - Coveralls |
9a58781
to
4e4a518
Compare
tensorbay/client/job.py
Outdated
@property | ||
def is_fusion(self) -> bool: | ||
"""Know whether it is from fusion dataset. | ||
|
||
Returns: | ||
Whether the BasicSearchJob is from fusion dataset. | ||
|
||
""" | ||
return self._is_fusion |
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 not need this property
tensorbay/client/job.py
Outdated
} | ||
client: The :class:`~tensorbay.client.requests.Client`. | ||
dataset_id: Dataset ID. | ||
job_updater: The function to update the information of the SquashAndMergeJob instance. |
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.
Does BasicSerchJob
also need a job_updater?
tensorbay/client/job.py
Outdated
@@ -286,11 +286,107 @@ def from_response_body( # type: ignore[override] # pylint: disable=arguments-d | |||
class BasicSearchJob(Job): | |||
"""This class defines :class:`BasicSearchJob`.""" | |||
|
|||
_T = TypeVar("_T", bound="BasicSearchJob") | |||
|
|||
def __init__( # pylint: disable=too-many-arguments |
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.
Use keyword arguments to avoid pylint error.
fef8629
to
f085dc4
Compare
f085dc4
to
f2feb63
Compare
f2feb63
to
90ef878
Compare
No description provided.