← Về thư mục
skills/omero-integration/scripts/omero_common.py
- ConfigError · class · L33-L34 — class ConfigError(ValueError)
- OutputPathError · class · L37-L38 — class OutputPathError(ValueError)
- DependencyError · class · L41-L42 — class DependencyError(RuntimeError)
- ConnectionConfig · class · L46-L62 — class ConnectionConfig
- authentication_mode · method · L57-L62 — def authentication_mode(self) -> str
- BoundedResult · class · L66-L70 — class BoundedResult
- parse_bool · function · L73-L82 — def parse_bool(value: str, *, variable: str) -> bool
- validate_host · function · L85-L103 — def validate_host(value: str) -> str
- parse_port · function · L106-L116 — def parse_port(value: str | None) -> int
- load_connection_config · function · L119-L167 — def load_connection_config( *, require_auth: bool, environ: Mapping[str, str] | None = None, ) -> ConnectionConfig
- config_summary · function · L170-L190 — def config_summary( config: ConnectionConfig, *, environ: Mapping[str, str] | None = None, ) -> dict[str, Any]
- require_secure_transport · function · L193-L204 — def require_secure_transport( config: ConnectionConfig, *, allow_insecure_transport: bool, ) -> None
- gateway_session · function · L208-L255 — def gateway_session( config: ConnectionConfig, *, allow_insecure_transport: bool, ) -> Iterator[Any]
- take_bounded · function · L258-L264 — def take_bounded(iterable: Iterable[Any], limit: int) -> BoundedResult
- unwrap_omero · function · L267-L277 — def unwrap_omero(value: Any) -> Any
- json_safe · function · L280-L352 — def json_safe( value: Any, *, max_string_length: int = 512, max_collection_length: int = 1000, _depth: int = 0, ) -> Any
- positive_int · function · L355-L364 — def positive_int(value: str) -> int
- bounded_int · function · L367-L380 — def bounded_int( value: int, *, name: str, minimum: int, maximum: int, ) -> int
- atomic_write_json · function · L383-L443 — def atomic_write_json( output: str | os.PathLike[str], payload: Any, *, overwrite: bool, ) -> Path
- emit_json · function · L446-L464 — def emit_json( payload: Any, *, output: str | os.PathLike[str] | None, overwrite: bool, ) -> Path | None
- scrubbed_error · function · L467-L473 — def scrubbed_error(error: BaseException) -> str
- main · function · L476-L486 — def main(argv: list[str] | None = None) -> int