Field that can be configured by the user.
| 364 | |
| 365 | |
| 366 | class ConfigurableField(NamedTuple): |
| 367 | """Field that can be configured by the user.""" |
| 368 | |
| 369 | id: str |
| 370 | |
| 371 | name: Optional[str] = None |
| 372 | description: Optional[str] = None |
| 373 | annotation: Optional[Any] = None |
| 374 | is_shared: bool = False |
| 375 | |
| 376 | def __hash__(self) -> int: |
| 377 | return hash((self.id, self.annotation)) |
| 378 | |
| 379 | |
| 380 | class ConfigurableFieldSingleOption(NamedTuple): |
no outgoing calls