mirror of
https://github.com/certbot/certbot.git
synced 2026-06-08 16:22:18 -04:00
* Add types in all DNS plugins * Order imports * Fix type * Update certbot-dns-route53/certbot_dns_route53/_internal/dns_route53.py Co-authored-by: alexzorin <alex@zor.io> * Clean up imports Co-authored-by: alexzorin <alex@zor.io>
17 lines
594 B
Python
17 lines
594 B
Python
"""Shim around `~certbot_dns_route53._internal.dns_route53` for backwards compatibility."""
|
|
from typing import Any
|
|
import warnings
|
|
|
|
from certbot_dns_route53._internal import dns_route53
|
|
|
|
|
|
class Authenticator(dns_route53.Authenticator):
|
|
"""Shim around `~certbot_dns_route53._internal.dns_route53.Authenticator`
|
|
for backwards compatibility."""
|
|
|
|
hidden = True
|
|
|
|
def __init__(self, *args: Any, **kwargs: Any) -> None:
|
|
warnings.warn("The 'authenticator' module was renamed 'dns_route53'",
|
|
DeprecationWarning)
|
|
super().__init__(*args, **kwargs)
|