File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -842,23 +842,6 @@ def __table_args__(cls): # noqa
842
842
passive_deletes = True ,
843
843
)
844
844
845
- @property
846
- def publisher_url (self ) -> str | None :
847
- event_tag = self .Event .tag # type: ignore[attr-defined]
848
- event_additional = self .Event .additional # type: ignore[attr-defined]
849
-
850
- try :
851
- release_event = self .events .where (
852
- sql .and_ (
853
- event_tag == EventTag .File .FileAdd ,
854
- event_additional ["publisher_url" ].as_string ().is_not (None ),
855
- )
856
- ).one ()
857
- except (NoResultFound , MultipleResultsFound ):
858
- return None
859
-
860
- return release_event .additional ["publisher_url" ]
861
-
862
845
@property
863
846
def uploaded_via_trusted_publisher (self ) -> bool :
864
847
"""Return True if the file was uploaded via a trusted publisher."""
You can’t perform that action at this time.
0 commit comments