Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jupyter importDataSchema() does not generate column accessors #696

Open
Jolanrensen opened this issue May 15, 2024 · 2 comments · May be fixed by #699
Open

Jupyter importDataSchema() does not generate column accessors #696

Jolanrensen opened this issue May 15, 2024 · 2 comments · May be fixed by #699
Assignees
Labels
bug Something isn't working OpenAPI Changes related to OpenAPI, JSON (schema), etc.
Milestone

Comments

@Jolanrensen
Copy link
Collaborator

Jupyter importDataSchema() does not generate column accessors. This is likely due to nested @DataSchema interfaces being skipped:

%trackExecution
@DataSchema
interface A {
    val a: Int
}

interface B {
    @DataSchema
    interface C {
        val c: Int
    }
}

Executing:

val ColumnsContainer<Line_22_jupyter.A>.a: DataColumn<Int> @JvmName("A_a") get() = this["a"] as DataColumn<Int>
val DataRow<Line_22_jupyter.A>.a: Int @JvmName("A_a") get() = this["a"] as Int
val ColumnsContainer<Line_22_jupyter.A?>.a: DataColumn<Int?> @JvmName("NullableA_a") get() = this["a"] as DataColumn<Int?>
val DataRow<Line_22_jupyter.A?>.a: Int? @JvmName("NullableA_a") get() = this["a"] as Int?
@Jolanrensen Jolanrensen added bug Something isn't working OpenAPI Changes related to OpenAPI, JSON (schema), etc. labels May 15, 2024
@Jolanrensen Jolanrensen added this to the 0.14.0 milestone May 15, 2024
@Jolanrensen Jolanrensen self-assigned this May 15, 2024
@Jolanrensen
Copy link
Collaborator Author

Jolanrensen commented May 15, 2024

@Jolanrensen Jolanrensen linked a pull request May 16, 2024 that will close this issue
@Jolanrensen
Copy link
Collaborator Author

Jolanrensen commented Jul 24, 2024

After #700 is solved, this should be as well, I'll check up on it quickly

@Jolanrensen Jolanrensen modified the milestones: 0.14.0, 0.15.0 Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OpenAPI Changes related to OpenAPI, JSON (schema), etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant