<#2794 [Core feature] [flytekit] Run-time configur...
# flytekit
g
#2794 [Core feature] [flytekit] Run-time configuration for Structured Dataset Issue created by wild-endeavor Structured Dataset Configuration Goal The current encoders/decoders for Structured Dataset don't necessarily suit all use cases for all users at all times. Specifically behaviour around the run-time column strictness - for example, in the following scenario
Copy code
@task
def t1() -> Annotated[pd.DataFrame, kwtypes(a=int)]:
  ...

@task
def t2(df: Annotated[pd.DataFrame, kwtypes(a=float)]):
 ...
It's conceivable that sometimes you want this type conversion (from int to float) to happen and sometimes you do not. What is the correct way of allowing the user to control this behavior? Also where should this be enforced? Enforcing this at run-time is likely best to give as much flexibility to the plugin author as possible. Implementation ? Misc Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte