Skip to content

Revisit Python API #97

@cpsievert

Description

@cpsievert

Right now the Python API doesn't feel very pythonic (i.e., OOP) -- it feels more like a port of the R API to Python.

I think we should consider something like this:

# Instead of querychat.init()
qc = QueryChat(data)

# Instead of querychat.sidebar()
qc.sidebar()

# Instead of querychat.server()
qc.server()

Metadata

Metadata

Assignees

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