fix literal type

This commit is contained in:
Ivan Schaller 2023-11-09 14:22:05 +01:00
parent 3cb883abd6
commit bec8384557
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
"""OctoDNS provider for NetboxDNS."""
import logging
from typing import Literal
import dns.rdata
import octodns.provider.base
@ -72,7 +73,7 @@ class NetBoxDNSSource(octodns.provider.base.BaseProvider):
id: int,
url: str,
token: str,
view: str | None | False = False,
view: str | None | Literal[False] = False,
ttl=3600,
replace_duplicates: bool = False,
):