mirror of
https://github.com/certbot/certbot.git
synced 2026-07-30 16:14:44 +02:00
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>
This commit is contained in:
co-authored by
alexzorin
parent
7d3a344d43
commit
86406ab63a
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user