Skip to content

API documentation drops type hints. #4657

Open
@dabacon

Description

@dabacon

Description of the issue

See for example API documentation for on_each in Gate
image
But the signature was

def on_each(self, *targets: Union[Qid, Iterable[Any]]) -> List['cirq.Operation']:

A quick glance at this makes me think it is the non-forward reference....ones that are labeled like 'cirq.Qid' seem to show up.

Metadata

Metadata

Assignees

Labels

area/docsarea/gateskind/healthFor CI/testing/release process/refactoring/technical debt items

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions