← Về thư mục
skills/labarchive-integration/scripts/entry_operations.py
- _require_text · function · L50-L54 — def _require_text(value: str, label: str) -> str
- _require_secret · function · L57-L60 — def _require_secret(value: str, label: str) -> str
- _expires_ms · function · L63-L67 — def _expires_ms(value: int | None = None) -> int
- create_signature · function · L70-L87 — def create_signature( access_key_id: str, api_method_input: str, expires_ms: int, access_password: str, ) -> str
- encode_eln_signature · function · L90-L93 — def encode_eln_signature(signature: str) -> str
- build_eln_auth_params · function · L96-L115 — def build_eln_auth_params( access_key_id: str, access_password: str, api_method: str, expires_ms: int | None = None, ) -> dict[str, str]
- build_inventory_headers · function · L118-L141 — def build_inventory_headers( access_key_id: str, access_password: str, user_id: str, lab_id: str, relative_path: str, expires_ms: int | None = None, ) -> dict[str, str]
- validate_eln_component · function · L144-L153 — def validate_eln_component(value: str, label: str) -> str
- validate_inventory_path · function · L156-L177 — def validate_inventory_path(value: str) -> str
- _secret_fingerprint · function · L180-L181 — def _secret_fingerprint(value: str) -> str
- _dump · function · L184-L189 — def _dump(payload: Mapping[str, Any], *, compact: bool, stream: Any) -> None
- _load_credentials · function · L192-L208 — def _load_credentials( args: argparse.Namespace, env: Mapping[str, str] ) -> tuple[str, str]
- command_self_test · function · L211-L227 — def command_self_test(args: argparse.Namespace) -> int
- command_eln_plan · function · L230-L261 — def command_eln_plan( args: argparse.Namespace, env: Mapping[str, str] | None = None ) -> int
- command_inventory_plan · function · L264-L298 — def command_inventory_plan( args: argparse.Namespace, env: Mapping[str, str] | None = None ) -> int
- _add_plan_options · function · L301-L315 — def _add_plan_options(parser: argparse.ArgumentParser) -> None
- build_parser · function · L318-L356 — def build_parser() -> argparse.ArgumentParser
- main · function · L359-L377 — def main(argv: Sequence[str] | None = None) -> int