We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a822c6 commit 5744d58Copy full SHA for 5744d58
python/lsst/resources/_resourcePath.py
@@ -393,9 +393,14 @@ def is_root(self) -> bool:
393
394
@property
395
def fragment(self) -> str:
396
- """Return the fragment component of the URI."""
+ """Return the fragment component of the URI. May be quoted."""
397
return self._uri.fragment
398
399
+ @property
400
+ def unquoted_fragment(self) -> str:
401
+ """Return unquoted fragment."""
402
+ return urllib.parse.unquote(self.fragment)
403
+
404
405
def params(self) -> str:
406
"""Return any parameters included in the URI."""
0 commit comments