are nested fields currently supported in structure...
# flytekit
d
are nested fields currently supported in structured datasets?
k
What type of fields
d
basically struct columns
or array columns
k
It think you can, and in the worst case do not. Declare it
d
sorry can you elaborate 🙂
k
Don’t have typed columns
d
tried the following
Copy code
@dataclass_json
@dataclass
class LevelCodes:
    level1: str
    level2: str

AllocatedPNLOutputSchema = Annotated[
    StructuredDataset,
    kwtypes(
        date=dt.datetime,
        fsli=LevelCodes,
        ...
y
no currently just lists and dicts are supported, but i don’t think this is a hard thing to do.
can you put in an issue for it?
d
sure can!