Skip to content

docs don't say how to import type defs #351

Closed
@colemickens

Description

@colemickens

Describe the bug

https://youtype.github.io/boto3_stubs_docs/mypy_boto3_ec2/type_defs/

Nowhere, in any of these docs, is there an example of how to import these type definitions. Nothing that says the import path. You're just supposed to know, somehow?

After a while I found examples somewhere else:

from mypy_boto3_ec2.type_defs import InstanceMarketOptionsRequestTypeDef

I don't know if this is the norm for python or what, but it would be great if this was explicit like all of the other per-service submodules.

Additional context
none needed, really.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🎉 releasedChanges were included to the latest release🐞 bugSomething isn't working👋 response neededAwaiting response from a reporter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions