Skip to content

client.pyi is missing client definitions (DiodeClient, DiodeDryRunClient, DiodeOTLPClient) #99

Description

@natecohen

Diode SDK Python version

1.12.0

Diode version

2.1.0

Diode NetBox Plugin version

1.14.0

NetBox version

4.6.4

Steps to reproduce

  1. Set up Pycharm project
  2. Install dependency
  3. Create a .py with from netboxlabs.diode.sdk.client import DiodeClient

Expected behavior

The type stub client.pyi should define the type signatures of all publicly exported classes so that IDEs and static type checkers can resolve them.

Observed behavior

When importing DiodeClient (or DiodeDryRunClient / DiodeOTLPClient) from netboxlabs.diode.sdk as shown in examples, Pycharm warns Cannot find reference 'DiodeClient' in 'netboxlabs.diode.sdk.client' and I can't autocomplete properties for example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus: needs triageThis issue is awaiting triage by a maintainer

    Type

    No type

    Fields

    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