Skip to content

TCPConnector ttl_dns_cache type hint #4270

Closed
@humkanet

Description

Hello,

class TCPConnector
def __init__(
....
ttl_dns_cache: int=10
...)

but documentation (and code so):

ttl_dns_cache (int) –

expire after some seconds the DNS entries, None means cached forever. By default 10 seconds.

Can you annotate as Optional[int], please?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions