ACME modules: simplify code, refactor argspec handling code, move csr/csr_content to own docs fragment (#750)

* Fix bug in argspec module util.

* Move csr / csr_content to new docs fragment.

* Simplify code.

* Refactor ACME argspec creation. Add with_certificate argument for new CERTIFICATE docs fragment.
This commit is contained in:
Felix Fontein
2024-05-05 14:37:52 +02:00
committed by GitHub
parent f3c9cb7a8a
commit aa82575a78
5 changed files with 72 additions and 55 deletions

View File

@@ -47,7 +47,7 @@ class ArgumentSpec:
return self
def merge(self, other):
self.update_argspec(other.argument_spec)
self.update_argspec(**other.argument_spec)
self.update(
mutually_exclusive=other.mutually_exclusive,
required_together=other.required_together,