deprecate inspector.get_primary_keys() ?

Issue #2422 resolved
Mike Bayer repo owner created an issue

this method is redundant vs. get_pk_constraint() and also not named very well. All the dialects could just as well just implement get_pk_constraint() internally too. The method doesn't seem to be used by itself.

Comments (7)

  1. Mike Bayer reporter

    looks great. I think we want to leave inspector.get_primary_keys() in, mark with @deprecated for now, in case anyone is using it.

  2. Former user Account Deleted

    (original author: diana) Replying to zzzeek:

    looks great. I think we want to leave inspector.get_primary_keys() in, mark with @deprecated for now, in case anyone is using it.

    Ok. I'll add it back... Friday night (busy until then). And then re-submit. Thx!

  3. Log in to comment