Normalize the id string to consistently use `cls.sep`. Args: id: id string to be normalized.
(cls, id: str | int)
| 204 | |
| 205 | @classmethod |
| 206 | def normalize_id(cls, id: str | int) -> str: |
| 207 | """ |
| 208 | Normalize the id string to consistently use `cls.sep`. |
| 209 | |
| 210 | Args: |
| 211 | id: id string to be normalized. |
| 212 | """ |
| 213 | return str(id).replace("#", cls.sep) # backward compatibility `#` is the old separator |
| 214 | |
| 215 | def normalize_meta_id(self, config: Any) -> Any: |
| 216 | """ |
no outgoing calls
no test coverage detected