Skip to content

create all types example#160

Merged
kumare3 merged 3 commits intomainfrom
joe/all-types-example
Oct 17, 2025
Merged

create all types example#160
kumare3 merged 3 commits intomainfrom
joe/all-types-example

Conversation

@squiishyy
Copy link
Collaborator

No description provided.

Signed-off-by: squiishyy <[email protected]>
@cosmicBboy
Copy link
Contributor

hey @squiishyy do you know if we support Literal types? This was a specific customer ask from EIDU

Copy link
Collaborator Author

squiishyy commented Sep 10, 2025

How do you mean? Would love to know more specifically what they're looking for!

@cosmicBboy
Copy link
Contributor

e.g.

from typing import Literal

InputType = Literal["foo", "bar"]

env = ...

@env.task
def my_task(x: InputType): ...

@kumare3
Copy link
Contributor

kumare3 commented Sep 12, 2025

I am working on the support for Literal, separate PR

@kumare3
Copy link
Contributor

kumare3 commented Oct 17, 2025

We support literal types, i will improve this example and check it in

@kumare3 kumare3 marked this pull request as ready for review October 17, 2025 21:44
@kumare3 kumare3 merged commit 525fa6d into main Oct 17, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants