Skip to content

[uss_qualifier] Improve generic parameters of ResourceProvidingResource - #1809

Draft
BenjaminPelletier wants to merge 1 commit into
interuss:mainfrom
BenjaminPelletier:resource-providing-resource-generics
Draft

BenjaminPelletier wants to merge 1 commit into
interuss:mainfrom
BenjaminPelletier:resource-providing-resource-generics

Conversation

@BenjaminPelletier

Copy link
Copy Markdown
Member

Currently, ResourceProvidingResource accepts a SpecificationType generic parameter because I thought that was necessary to satisfy Python typing requirements. However, the obvious way to use ResourceProvidingResources would be to specify just the type of resource they produce as a generic parameter, especially in test suite declarations. This PR makes that generic type parameter adjustment and uses this to improve the type annotations on test suite declarations, allowing removal of the extra comments previously needed to explain this expectation.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant