(self, s: str, partial: bool = False)
| 718 | CephUUID: pretty self-explanatory |
| 719 | """ |
| 720 | def valid(self, s: str, partial: bool = False) -> None: |
| 721 | try: |
| 722 | uuid.UUID(s) |
| 723 | except Exception as e: |
| 724 | raise ArgumentFormat('invalid UUID {0}: {1}'.format(s, e)) |
| 725 | self.val = s |
| 726 | |
| 727 | def __str__(self) -> str: |
| 728 | return '<uuid>' |
nothing calls this directly
no test coverage detected