Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[OPIK-582] Get experiment by name endpoint #891

Conversation

BorisTkachenko
Copy link
Contributor

Details

Get experiment by name endpoint

Testing

Added integration tests

@BorisTkachenko BorisTkachenko self-assigned this Dec 13, 2024
@BorisTkachenko BorisTkachenko requested a review from a team as a code owner December 13, 2024 13:27
Copy link
Collaborator

@andrescrz andrescrz left a comment

Choose a reason for hiding this comment

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

Let's just polish the details a bit.

Comment on lines +166 to +167
<if(id)> AND id = :id <endif>
<if(name)> AND name = :name <endif>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Minor: please ensure either id or name is always provided in all code paths, otherwise it won't work as expected.

It seems to be like that in the code below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are only 2 places where it's used. And each one adds corresponding clause, so it should be fine.

@BorisTkachenko BorisTkachenko merged commit 956003b into main Dec 16, 2024
7 checks passed
@BorisTkachenko BorisTkachenko deleted the boryst/OPIK-582-be-implement-new-endpoint-get-experiment-by-name branch December 16, 2024 08:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants