Comments (5)
Hi @Ginzou-3, why are you stopping the Core service and loading two different configurations?
Try to create only one configuration/TOML and load it once in your if __name__ == "__main__"
. Same thing for the run method. It should only be run once in your if __name__ == "__main__"
and never stopped.
If not possible, please tell us what is your use case so we can understand it a bit better.
from taipy.
Hm okay i thought the config is like a changeable disk, like when i want to listen to another band, i change the CD.
For me a toml file was like a workflow. When I have a different workflow a change my toml. Thats why i stop my core, because i cant alter the config file when its running.
Idea: Get request for workflow 1 -> taipy loads the config -> let the scenario run -> return the output -> request for workflow 2 -> core stop -> load new config -> etc
from taipy.
The configuration is how you configure your application overall. Inside a unique application/configuration, you can have different workflows/scenarios.
@jrobinAV If you have anything to say, please do.
from taipy.
Not much to add...
The Config has been created to support multiple workflows (They are called ScenarioConfig
).
If you want to create multiple workflows, you can create multiple ScenarioConfig
in the global Config singleton. Then, you can instantiate as many scenarios as you want from any ScenarioConfig
you created. You can run them, visualize the results, etc. of the various scenarios in the same application.
from taipy.
I am closing this issue as it is not a bug. However, if you have any remarks @Ginzou-3, you can create another issue to improve Taipy documentation or usability!
from taipy.
Related Issues (20)
- Add title and hover text on metric control
- [🐛 BUG] `on_change` of selector not working HOT 3
- Frontend Decouple Ws Adapter
- [OTHER] How to dynamic add / remove visual elements? HOT 13
- [🐛 BUG] step function in slider not working HOT 4
- The number visual element number should have property type step. HOT 3
- Is Taipy.io down? HOT 5
- Augment the table control's columns capabilities HOT 3
- [Refactor] Input lagging in Login control
- [Refactor] Accept Pandas Series in lov property HOT 4
- [🐛 BUG] Errors when using Scenario Selector visual element HOT 6
- Add a validation for date with_time HOT 4
- action_keys for date with_time HOT 2
- [🐛 BUG] Check if old versions have the numpy issue
- integrate component react with markdown HOT 5
- Docs for "Progress" visual element are missing
- Store favicon traffic metrics
- Setup the appropriate method to spawn a subprocess
- Refactor Reason API HOT 1
- [Refactor] Change the create CLI command
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taipy.