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

Config Ref man #1851

Open
wants to merge 42 commits into
base: develop
Choose a base branch
from
Open

Config Ref man #1851

wants to merge 42 commits into from

Conversation

jrobinAV
Copy link
Member

@jrobinAV jrobinAV commented Sep 27, 2024

Waiting for Avaiga/taipy-doc#1146 to be merged

Copy link
Contributor

github-actions bot commented Sep 27, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
18967 16427 87% 0% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
taipy/common/init.py 100% 🟢
taipy/common/config/init.py 55% 🟢
taipy/common/config/checker/init.py 100% 🟢
taipy/common/config/checker/issue.py 100% 🟢
taipy/common/config/checker/issue_collector.py 100% 🟢
taipy/common/config/common/frequency.py 100% 🟢
taipy/common/config/common/scope.py 100% 🟢
taipy/common/config/config.py 96% 🟢
taipy/common/config/global_app/global_app_config.py 97% 🟢
taipy/common/config/section.py 86% 🟢
taipy/core/init.py 100% 🟢
taipy/core/_entity/submittable.py 95% 🟢
taipy/core/_orchestrator/_dispatcher/_job_dispatcher.py 92% 🟢
taipy/core/_orchestrator/_orchestrator.py 92% 🟢
taipy/core/common/_mongo_connector.py 88% 🟢
taipy/core/common/mongo_default_document.py 100% 🟢
taipy/core/config/core_section.py 97% 🟢
taipy/core/config/data_node_config.py 99% 🟢
taipy/core/config/job_config.py 100% 🟢
taipy/core/config/scenario_config.py 97% 🟢
taipy/core/config/task_config.py 95% 🟢
taipy/core/cycle/cycle.py 98% 🟢
taipy/core/cycle/cycle_id.py 100% 🟢
taipy/core/data/_abstract_sql.py 95% 🟢
taipy/core/data/_file_datanode_mixin.py 98% 🟢
taipy/core/data/_tabular_datanode_mixin.py 98% 🟢
taipy/core/data/aws_s3.py 95% 🟢
taipy/core/data/csv.py 98% 🟢
taipy/core/data/data_node.py 99% 🟢
taipy/core/data/data_node_id.py 100% 🟢
taipy/core/data/excel.py 85% 🟢
taipy/core/data/generic.py 98% 🟢
taipy/core/data/in_memory.py 100% 🟢
taipy/core/data/json.py 97% 🟢
taipy/core/data/mongo.py 89% 🟢
taipy/core/data/operator.py 100% 🟢
taipy/core/data/parquet.py 97% 🟢
taipy/core/data/pickle.py 100% 🟢
taipy/core/data/sql.py 100% 🟢
taipy/core/data/sql_table.py 98% 🟢
taipy/core/exceptions/init.py 100% 🟢
taipy/core/job/job.py 93% 🟢
taipy/core/job/job_id.py 100% 🟢
taipy/core/notification/init.py 100% 🟢
taipy/core/notification/_topic.py 95% 🟢
taipy/core/notification/core_event_consumer.py 96% 🟢
taipy/core/notification/event.py 98% 🟢
taipy/core/notification/notifier.py 100% 🟢
taipy/core/notification/registration_id.py 100% 🟢
taipy/core/orchestrator.py 100% 🟢
taipy/core/reason/init.py 100% 🟢
taipy/core/reason/reason.py 92% 🟢
taipy/core/reason/reason_collection.py 100% 🟢
taipy/core/scenario/scenario.py 96% 🟢
taipy/core/scenario/scenario_id.py 100% 🟢
taipy/core/sequence/sequence.py 99% 🟢
taipy/core/sequence/sequence_id.py 100% 🟢
taipy/core/submission/submission.py 94% 🟢
taipy/core/submission/submission_id.py 100% 🟢
taipy/core/taipy.py 91% 🟢
taipy/core/task/task.py 98% 🟢
taipy/core/task/task_id.py 100% 🟢
taipy/gui/init.py 100% 🟢
taipy/gui/_gui_section.py 100% 🟢
taipy/gui/_renderers/init.py 76% 🟢
taipy/gui/builder/_element.py 91% 🟢
taipy/gui/builder/page.py 70% 🟢
taipy/gui/gui.py 79% 🟢
taipy/gui/gui_actions.py 70% 🟢
taipy/gui/icon.py 83% 🟢
taipy/gui/partial.py 89% 🟢
taipy/gui/state.py 84% 🟢
taipy/rest/init.py 100% 🟢
taipy/rest/api/resources/datanode.py 96% 🟢
taipy/rest/api/schemas/datanode.py 100% 🟢
TOTAL 95% 🟢

updated for commit: 62da7a8 by action🐍

Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

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

Are you really generating files for the doc only at runtime for everybody?

taipy/config/__init__.py Outdated Show resolved Hide resolved
@jrobinAV jrobinAV self-assigned this Oct 1, 2024
@jrobinAV jrobinAV marked this pull request as ready for review October 3, 2024 11:06
@jrobinAV jrobinAV added 🟥 Priority: Critical Must be addressed as soon as possible 📄 Documentation Internal or public documentation labels Oct 3, 2024
namnguyen20999 and others added 18 commits October 3, 2024 17:02
* Stack broadcasts so that not one is lost
resolves #1608

* fix test and typo

* test

---------

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
* add on page load

* fix lint

* per Fabien
* Toggle examples

* lint

* example builder + markdown
fix crash in datatype

* rename folder

* files rename

---------

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
* feat(taipy-common): add common package and move config, _cli and logger to it

* feat(taipy-common): refactor imports

* feat(taipy-common): refactor release action

* feat(taipy-common): fix templates tests

* fix(taipy-common): fix config.pyi path

Update config.pyi

* chore(taipy-common): fix missing imports on pyi_header

* chore(taipy-common): remove cli testing section on partial tests

* Update config.pyi

* chore(taipy-common): fix config import on migrate_cli

* fix: missing common when importing taipy config

* chore(taipy-common): bump dev version

* chore(taipy-common): fix package name

* chore(taipy-common): fix import format

---------

Co-authored-by: joaoandre-avaiga <[email protected]>
Co-authored-by: trgiangdo <[email protected]>
* manage broadcast
resolves #1608
resolves #1891

* should not be

---------

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
Made some small change will enhance the quilty of reading
FabienLelaquais
FabienLelaquais previously approved these changes Oct 3, 2024
Copy link
Member

@FabienLelaquais FabienLelaquais left a comment

Choose a reason for hiding this comment

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

👌 minor comments and questions

taipy/common/config/__init__.py Show resolved Hide resolved
@@ -48,14 +48,14 @@ def _update(self, config_as_dict: t.Dict[str, t.Any], default_section=None):

@staticmethod
def _configure(**properties) -> "_GuiSection":
"""NOT DOCUMENTED
Configure the Graphical User Interface.
"""Configure the Graphical User Interface.
Copy link
Member

Choose a reason for hiding this comment

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

Why document that? How requested it?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is the method dynamically injected into the config. The usage is:

from taipy import Config

Config.configure_gui(...)

By the way, a user asked how to do it in 3.1 since it was not documented.

If you prefer not to promote this way of configuring the GUI, I can remove it without hesitation.

taipy/gui/gui.py Outdated Show resolved Hide resolved
taipy/core/__init__.py Show resolved Hide resolved
taipy/gui/gui.py Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📄 Documentation Internal or public documentation 🟥 Priority: Critical Must be addressed as soon as possible
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants