python / python/typeshed

Literal based overloads for asyncio transport

Open
#6,210 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic: asyncio
Dominant language
Python
Stars
5.1k
Forks
2.1k
Avg merge
1d 19h
Merged PRs (30d)
82

Description

Asyncio transport get_extra_info has defined value as it's argument so it can be overloaded with Literal see https://docs.python.org/3/library/asyncio-protocol.html#asyncio.BaseTransport.get_extra_info

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the asyncio transport stub for get_extra_info and read the linked BaseTransport.get_extra_info documentation. Compare the documented argument values with the current stub, then ensure the overloads represent those values. Done means the transport typing reflects the documented Literal-based behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.