MagicStack / MagicStack/asyncpg
prepared statement get_attributes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 8.1k
- Forks
- 468
- PR merge metrics
- No merged PRs in 30d
Description
How can i get scale and precision from get_attributes()?
psycopg returns (Column(name='column_name', type_code=1043, display_size=None, internal_size=-1, precision=None, scale=None, null_ok=None)
asyncpg returns Attribute( name='typname', type=Type(oid=19, name='name', kind='scalar', schema='pg_catalog')
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names the prepared-statement get_attributes() API and asks for scale and precision metadata. Start by locating that API and comparing its Attribute/Type result with the psycopg example and PostgreSQL metadata. Done means the supported way to obtain these values is established and documented or implemented with coverage for the returned metadata.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- postgresql, python
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100