Skip to content

Psycopg adapter issue when not passing arguments to as_string #1502

@wesleykendall

Description

@wesleykendall

Calling psycopg.sql.Identifier(val).as_string() in application code causes the latest New Relic agent to crash with wrapper_psycopg_as_string.<locals>._bind_params() missing 1 required positional argument: 'context'

as_string doesn't require the context argument. I have to do psycopg.sql.Identifier(val).as_string(None) to get around this New Relic crash in my application code for now

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIncorrect or flawed agent behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions