osclib: Add typehints

This commit is contained in:
Enno Gotthold 2022-10-13 15:12:54 +02:00
parent 58f2c03883
commit 04a6860c6d
No known key found for this signature in database
GPG Key ID: 18569829AD881702

View File

@ -229,7 +229,7 @@ def binary_src_debug(binary):
@memoize(session=True)
def devel_project_get(apiurl, target_project, target_package):
def devel_project_get(apiurl: str, target_project: str, target_package: str):
try:
meta = ET.fromstringlist(show_package_meta(apiurl, target_project, target_package))
node = meta.find('devel')