Skip to content
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

fix: api not being accessible through TritonAPI #424

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

diogotcorreia
Copy link
Member

Due to #285, the TritonAPI class in the core module was no longer overshadowing the same class in the api module, effectively breaking the TritonAPI#getInstance method.

This commit works around that by saving a reference to the Triton instance in the TritonAPI class ifself.

@diogotcorreia diogotcorreia added type:bug Something isn't working as expected module:api Related to the API regression Something that was working but it isn't anymore module:core Related to the core module labels Jul 14, 2024
@diogotcorreia diogotcorreia added this to the 4.0.0 milestone Jul 14, 2024
@diogotcorreia diogotcorreia self-assigned this Jul 14, 2024
Due to #285, the TritonAPI class in the core module was no longer
overshadowing the same class in the api module, effectively breaking the
TritonAPI#getInstance method.

This commit works around that by saving a reference to the Triton
instance in the TritonAPI class ifself.
@diogotcorreia diogotcorreia force-pushed the fix/api-dynamic-deps branch from 0e0eea5 to 9d5a140 Compare July 14, 2024 19:43
@diogotcorreia diogotcorreia marked this pull request as ready for review July 14, 2024 19:44
@diogotcorreia diogotcorreia merged commit 9d5a140 into v4 Jul 14, 2024
1 check passed
@diogotcorreia diogotcorreia deleted the fix/api-dynamic-deps branch July 14, 2024 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:api Related to the API module:core Related to the core module regression Something that was working but it isn't anymore type:bug Something isn't working as expected
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant