mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-19 10:27:07 +01:00
Updated for typing
This commit is contained in:
parent
4429afe74c
commit
2ca5479e20
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue