-
Notifications
You must be signed in to change notification settings - Fork 6
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
feature: Creation of connectors to Studio(Dataset, Runner, Evaluation and Aggregation) #1003
Conversation
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.
This implementation will not work at all. The entire point of this whole exercise is that anyone can access the data from the data platform. However, the methods are not implemented to access the data from the platform, instead, they access the data from the local file system.
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.
The same holds for all repositories.
class Config: | ||
alias_generator = to_camel |
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.
Could you change this to match the Pydantic 2 suggested approach? Something like:
model_config = ConfigDict(alias_generator=AliasGenerator(serialization_alias=to_camel))
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.
Why do we need this at all? Can't we use the normal BaseModel?
429, | ||
500, | ||
502, | ||
503, | ||
504, |
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.
Could you change this to use the codes from HTTPStatus?
Co-authored-by: Murilo Medeiros [email protected] Co-authored-by: Amado Santana [email protected]
…tudioAggregationRepository
290ed53
to
62136bb
Compare
Description
DataClient
andStudioDatasetRepository
as connectors to Studio for submitting data.StudioRunnerRepository
as a connector to Studio for submitting runs.StudioEvaluationRepository
as a connector to Studio for submitting evaluations.StudioAggregationRepository
as a connector to Studio for submitting aggregations.Before Merging
changelog.md
if necessary