We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c237d1 commit 3467266Copy full SHA for 3467266
src/packageurl/validate.py
@@ -26,6 +26,7 @@
26
Validate each type according to the PURL spec type definitions
27
"""
28
29
+from typing import Set
30
31
class BasePurlType:
32
@@ -50,7 +51,7 @@ class BasePurlType:
50
51
namespace_requirement: str
52
""""States if this namespace is required, optional, or prohibited."""
53
- allowed_qualifiers: set[str] = {"repository_url", "arch"}
54
+ allowed_qualifiers: Set[str] = {"repository_url", "arch"}
55
"""Set of allowed qualifier keys for this PURL type."""
56
57
namespace_case_sensitive: bool = True
0 commit comments