Skip to content

Broken methods #16

@dhanushreddy291

Description

@dhanushreddy291

Some of the methods are broken (I guess few were due to this PR not being deployed to PyPI: https://github.com/neondatabase/neon-api-python/pull/15/files as last updated on PyPI is Jan, 2025)

Some broken methods I found during testing:

  • neon.project(project_id='any-project-id')
  • neon.me()
  • neon.databases(): cursor and limit options donot work and the same too are not available on REST API.
  • neon.database takes the following params as input: database(project_id: str, branch_id: str, database_id: str) but database_id is integer and a different thing. The parameter naming needs to be changed to database_name as this is what REST API expects. (This will genuinely confuse AI agents as passing the id here fails the request)
  • Similar database_id to database_name change needed for .database_update method.
  • Similar database_id to database_name change needed for .database_delete method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions