Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/acme
diff options
context:
space:
mode:
authorAdrien Ferrand <adferrand@users.noreply.github.com>2021-11-26 01:00:03 +0300
committerGitHub <noreply@github.com>2021-11-26 01:00:03 +0300
commit86406ab63aebf463ca4aa0381a55ddeb91231cd2 (patch)
tree4af373737d9c548dc1f9f7e9691b81c33f3297ed /acme
parent7d3a344d4314a19f49c706f6c82959ba6ce93451 (diff)
Add type annotations to the certbot package (part 4) (#9087)
* Extract from #9084 * Cast/ignore types during the transition * Remove useless casts and type ignore directives * Fix lint * Fix a cast * Mandatory typing for certbot packages * Update certbot/certbot/_internal/plugins/disco.py Co-authored-by: alexzorin <alex@zor.io> * Remove unused type import * Fix iterator type * Fix type * Fix types in selection Co-authored-by: alexzorin <alex@zor.io>
Diffstat (limited to 'acme')
-rw-r--r--acme/acme/messages.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/acme/acme/messages.py b/acme/acme/messages.py
index 0dd579a98..80dacb674 100644
--- a/acme/acme/messages.py
+++ b/acme/acme/messages.py
@@ -335,7 +335,7 @@ class Registration(ResourceBody):
@classmethod
def from_data(cls, phone: Optional[str] = None, email: Optional[str] = None,
- external_account_binding: Optional[ExternalAccountBinding] = None,
+ external_account_binding: Optional[Dict[str, Any]] = None,
**kwargs: Any) -> 'Registration':
"""
Create registration resource from contact details.