Updated for typing

This commit is contained in:
Dimitris Zlatanidis 2023-05-13 22:56:04 +03:00
parent 4429afe74c
commit 2ca5479e20
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ class BinQueries:
BinariesTable).where(
BinariesTable.repo == self.repository).all()
repos_dict: dict = {
repos_dict: dict[str] = {
data.name: {'version': data.version,
'package': data.package,
'mirror': data.mirror,

View file

@ -32,7 +32,7 @@ class SBoQueries(Configs):
""" Returns a dictionary with the repository data. """
repository_data: tuple = self.session.query(self.sbo_table).all()
repos_dict: dict = {
repos_dict: dict[str] = {
data.name: {'location': data.location,
'files': data.files,
'version': data.version,