Skip to content

While using PyCharm I do not get autocomplete for methods under requests or events #95

@ASirrelle

Description

@ASirrelle

I'll prefix this with "I might be doing a dumb", but I've been unable to get autocomplete working for methods under request or events in PyCharm.
To be clear, the methods work. It was just fairly difficult finding out what methods there were without being able to see or return any.

I'm using Python 3.7 in PyCharm
I've installed obs-websocket-py through PyCharm's Interpreter.

In the init.py I can see events and requests are ClassFactory Instances of Baseevents and Baserequests. I'm assuming this is meant to auto generate all the methods within these two classes and for whatever reason PyCharm says no.

I've found documentation on what methods should exist from another git:
https://github.com/obsproject/obs-websocket/blob/master/docs/generated/protocol.json

Should I create a wrapper using this data, or is there a simpler approach which I'm missing? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions