Skip to content

TCPConnector ttl_dns_cache type hint #4270

@humkanet

Description

@humkanet

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

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestWe think it's good for https://hacktoberfest.digitalocean.com/clientgood first issueGood for newcomerspr-merged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions