Skip to content

feat: Add contrains handling for stubs generator. #36

@Masara

Description

@Masara

Is your feature request related to a problem?

Currently code with contrains is not handled during the stubs generation. If possible, this feature should be added (Python only supports upper bound contrains).

Desired solution

# Python
class ClassA[T: str]:
	...
// Stubs
class ClassA<T> where {T sub String} {
	...
}

Additional Context (optional)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✔️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions