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

better translate fallback module handling #145

Merged
merged 1 commit into from
Apr 29, 2023

Conversation

emphasize
Copy link
Member

@emphasize emphasize commented Apr 29, 2023

Problem:
ATM the fallback is only loaded if the specified module is not there to load (ie None). It doesn't account for
any feedback from the Translate/Detection class

eg. in deepl i could check
translator.get_usage()
in init, which itself raises on any type of unavailability (that includes contingent reached)

@codecov
Copy link

codecov bot commented Apr 29, 2023

Codecov Report

❗ No coverage uploaded for pull request base (dev@68ec25f). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev    #145   +/-   ##
=====================================
  Coverage       ?   0.00%           
=====================================
  Files          ?      49           
  Lines          ?    3550           
  Branches       ?       0           
=====================================
  Hits           ?       0           
  Misses         ?    3550           
  Partials       ?       0           

@JarbasAl JarbasAl merged commit 9eb9f07 into OpenVoiceOS:dev Apr 29, 2023
@JarbasAl JarbasAl added the bug Something isn't working label Apr 29, 2023
@github-actions github-actions bot mentioned this pull request Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants