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

Add ungrouped function from deprecated class to model class by ankitvedakscale · Pull Request #448 · scaleapi/nucleus-python-client · GitHub

Add ungrouped function from deprecated class to model class - #448

Open
ankitvedakscale wants to merge 1 commit into
masterfrom
create-new-route
Open

Add ungrouped function from deprecated class to model class#448
ankitvedakscale wants to merge 1 commit into
masterfrom
create-new-route

Conversation

Copy link
Copy Markdown

Reusing a function from the Deprecated ModelRun to Model Class

jean-lucas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Please also update the version in the .toml file and add a description in the releases

Comment thread nucleus/model.py
Comment on lines +348 to +354
def ungrouped_export(self, model_run_id):
json_response = self._client.make_request(
payload={},
route=f"modelRun/{model_run_id}/ungrouped",
requests_command=requests.get,
)
return format_prediction_response({ANNOTATIONS_KEY: json_response})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Lets name this something a bit better. I'm not sure why the endpoint was originally named ungrouped, but this method could be called export_by_model_run_id or something like that

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL