Skip to content

Question for dbc.Table.from_dataframe definition #925

Description

@stdedos

Hello there!

I am wondering, why is dbc.Table.from_dataframe declared like this?

https://github.com/facultyai/dash-bootstrap-components/blob/fb8c3c72c50f343f4d0c74164ed61f2c5afc5b2b/dash_bootstrap_components/__init__.py#L37-L39

It seems to cause some issues on my pylint checking:

sa.py:116:11: E1101: Class 'Table' has no 'from_dataframe' member (no-member)

Is there ... some issue declaring it "normally"? Like

    @classmethod
    def from_dataframe(...): ...

Maybe that would help pylint in identifying it properly.

PS: Not a pylint connoisseur, YMMV since idk if my configuration "makes sense" or not

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions