fix: harden Python workflow client boundary
This commit is contained in:
@@ -22,6 +22,7 @@ def __getattr__(name: str) -> object:
|
||||
return generate_manifest
|
||||
raise AttributeError(name)
|
||||
|
||||
|
||||
__all__ = [
|
||||
"ContractManifest",
|
||||
"JsonSchema",
|
||||
|
||||
@@ -15,7 +15,9 @@ from .model import ManifestError
|
||||
|
||||
|
||||
def _parser() -> argparse.ArgumentParser:
|
||||
parser = argparse.ArgumentParser(description="Manage the checked workflow API contract manifest.")
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Manage the checked workflow API contract manifest."
|
||||
)
|
||||
parser.add_argument("command", choices=("write", "check"))
|
||||
return parser
|
||||
|
||||
|
||||
Reference in New Issue
Block a user