Pfn
- mod
Pfn
- synopsis
pfn URI (un)parsing
- DIRAC.Core.Utilities.Pfn.default_pfnparse(pfn)
Parse pfn and save all bits of information into dictionary
- Parameters
pfn (str) – pfn string
- DIRAC.Core.Utilities.Pfn.default_pfnunparse(pfnDict)
Create PFN URI from pfnDict
- Parameters
pfnDict (dict) –
- DIRAC.Core.Utilities.Pfn.pfnparse(pfn: str, srmSpecific: Optional[bool] = True) dict[str, str]
Wrapper for backward compatibility Redirect either to the old hand made style of parsing the pfn, which works for srm, or to the standard one which seems to work for the rest
- Parameters
srmSpecific – use the srm specific parser (default True)
- DIRAC.Core.Utilities.Pfn.pfnunparse(pfnDict: dict[str, str], srmSpecific: Optional[bool] = True) str
Wrapper for backward compatibility Redirect either to the old hand made style of unparsing the pfn, which works for srm, or to the standard one which seems to work for the rest
- Parameters
srmSpecific – use the srm specific parser (default True)