[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][master] dbconn.py: update type annotation with quotes



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

  • 1cf82ea9
    by Ansgar at 2023-02-19T23:28:18+01:00
    dbconn.py: update type annotation with quotes
    

1 changed file:

Changes:

  • daklib/dbconn.py
    ... ... @@ -439,7 +439,7 @@ class DBBinary(ORMObject):
    439 439
             return apt_pkg.TagSection(stanza)
    
    440 440
     
    
    441 441
         @property
    
    442
    -    def proxy(self) -> MetadataProxy:
    
    442
    +    def proxy(self) -> "MetadataProxy":
    
    443 443
             session = object_session(self)
    
    444 444
             query = session.query(BinaryMetadata).filter_by(binary=self)
    
    445 445
             return MetadataProxy(session, query)
    
    ... ... @@ -1483,7 +1483,7 @@ class DBSource(ORMObject):
    1483 1483
             return fileset
    
    1484 1484
     
    
    1485 1485
         @property
    
    1486
    -    def proxy(self) -> MetadataProxy:
    
    1486
    +    def proxy(self) -> "MetadataProxy":
    
    1487 1487
             session = object_session(self)
    
    1488 1488
             query = session.query(SourceMetadata).filter_by(source=self)
    
    1489 1489
             return MetadataProxy(session, query)
    


  • Reply to: