We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When there's no image for at least one of the data sources the UI wont load any data source. This bug originates in app/api/data_source.py in line 33:
app/api/data_source.py
@staticmethod def from_data_source_class(name: str, data_source_class: BaseDataSource) -> 'DataSourceTypeDto': with open(f"static/data_source_icons/{name}.png", "rb") as file: encoded_string = base64.b64encode(file.read()) image_base64 = f"data:image/png;base64,{encoded_string.decode()}" return DataSourceTypeDto( name=name, display_name=data_source_class.get_display_name(), config_fields=data_source_class.get_config_fields(), image_base64=image_base64, has_prerequisites=data_source_class.has_prerequisites() )
The function is lacking error handling, handle the errors and fix it.
The text was updated successfully, but these errors were encountered:
Itaykal
Successfully merging a pull request may close this issue.
When there's no image for at least one of the data sources the UI wont load any data source.
This bug originates in
app/api/data_source.py
in line 33:The function is lacking error handling, handle the errors and fix it.
The text was updated successfully, but these errors were encountered: