Skip to content

feat: add viz poc 1#3680

Open
nicolaskempf57 wants to merge 26 commits intomainfrom
feat_add_viz_poc_1
Open

feat: add viz poc 1#3680
nicolaskempf57 wants to merge 26 commits intomainfrom
feat_add_viz_poc_1

Conversation

@nicolaskempf57
Copy link
Copy Markdown
Contributor

No description provided.

@nicolaskempf57 nicolaskempf57 marked this pull request as ready for review April 10, 2026 13:39
Comment thread udata/core/visualizations/api.py Outdated
Comment thread udata/core/visualizations/api.py Outdated
Comment thread udata/core/visualizations/models.py Outdated
Comment on lines +23 to +28
class DataSeriesFactory(ModelFactory):
class Meta:
model = DataSeries

type = "line"
column_y = factory.Faker("word")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing ressource_id?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not resolved? This factory is never used?

Comment thread udata/core/visualizations/models.py
Comment thread udata/tests/api/test_visualizations_api.py
Comment thread udata/api_fields.py
Comment thread udata/core/visualizations/__init__.py Outdated
Comment thread udata/core/visualizations/models.py
Comment thread udata/core/visualizations/models.py Outdated
Comment on lines +83 to +84
class AndFilters(GenericFilter):
filters = field(EmbeddedDocumentListField(GenericFilter))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test with these generic filters to test the API creation and response?

Comment on lines +23 to +28
class DataSeriesFactory(ModelFactory):
class Meta:
model = DataSeries

type = "line"
column_y = factory.Faker("word")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not resolved? This factory is never used?

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.

2 participants