Skip to content

Improve ParameterizedFunction signature information #198

Description

@philippjfr

When trying to inspect the signature of a ParameterizedFunction I usually want to see the arguments as well as the parameters. However currently the signature only shows the parameters and lists *args and **kwargs in the signature. Here's an example from the datashader circular_layout function:

Init signature: circular_layout(*args, **params)
Docstring:     
params(seed=Integer, uniform=Boolean, name=String)

This gives me no indication that the function expects nodes and edges as arguments.

Metadata

Metadata

Assignees

Labels

docdocs, interactive help, auto-completion, etcstatus: discussionDiscussion. Not yet a specific feature/bug. Likely to result in multiple PRs/issues.type-featureFeature request

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions