Comments (13)
In GitLab by @DillonJ on Mar 12, 2019, 13:06
Yes, this appears to be needed when trying to add multiple results for the same object in add_var_to_result()
to_spine.jl as in spine-tools/SpineOpt.jl#91
Is this for @manuelma ?
from spine-database-api.
In GitLab by @manuelma on Mar 12, 2019, 13:16
I can work on that.
from spine-database-api.
In GitLab by @manuelma on Mar 13, 2019, 23:28
I'm now changing the default behaviour of all add_
and update_
methods to 'let pass'. If you want integrity errors to be raised you need to pass the argument strict=True
(default is False
).
Will commit soon.
from spine-database-api.
In GitLab by @manuelma on Mar 13, 2019, 23:36
mentioned in commit toolbox@e7c6d271589e11f14141fce62d390c3b0e0a4088
from spine-database-api.
In GitLab by @manuelma on Mar 13, 2019, 23:37
mentioned in commit 46cd198
from spine-database-api.
In GitLab by @manuelma on Mar 14, 2019, 20:18
mentioned in commit b205a72
from spine-database-api.
In GitLab by @manuelma on Mar 14, 2019, 22:24
mentioned in commit cae60c3
from spine-database-api.
In GitLab by @manuelma on Mar 14, 2019, 22:45
mentioned in commit b5ebbe4
from spine-database-api.
In GitLab by @manuelma on Mar 14, 2019, 22:47
mentioned in commit toolbox@ddaa42691d8656a375545ff9498fdf9ab7b3c462
from spine-database-api.
In GitLab by @manuelma on Mar 14, 2019, 23:08
This was advanced in those last commits. Finally I went with a keyword argument approach. Now you can pass the argument return_dups=True
to the add_
methods, which combined with strict=False
results in the method returning also items that couldn't be inserted because of duplication issues.
Seems complex, but I think it really isn't and allows for great flexibility.
Thoughts?
from spine-database-api.
In GitLab by @manuelma on Mar 14, 2019, 23:08
assigned to @manuelma
from spine-database-api.
In GitLab by @manuelma on Mar 25, 2019, 12:44
This is implemented so I'm closing this now. Please reopen if needed.
from spine-database-api.
In GitLab by @manuelma on Mar 25, 2019, 12:44
closed
from spine-database-api.
Related Issues (20)
- Restablish unique key 'name' for entity_class
- Parameter values as Apache Arrow objects HOT 4
- Can't trust legacy tool/feature/method for compatibility transformations
- Write type information for simple types as well HOT 6
- Rollback purge HOT 1
- Add Toolbox tests to GitHub actions? HOT 3
- Parameter value format documentation is missing index_name
- Wrong results after changing a filter
- Make sure TempId travel safely across the socket (DB server)
- The tool filter only works with 1 tool activated
- No entity can pass its tool filter when there are multiple `tool_feature_method`s HOT 1
- Fix broken example in parameter_value API documentation
- Guidelines on what to import in __init__.py
- Improve parsing performance by accepting only ISO 8601 time stamps HOT 2
- Check that CHANGELOG.md is up-to-date for 0.8-dev HOT 1
- Compatibility transformation should keep working after the first time HOT 1
- Alternative filter does not filter by entity alternatives
- Trying to get a parameter value that does not exist Tracebacks
- Mention the difference between entity_byname and element_name_list in documentation HOT 2
- Support EPS Value in GDX Exporter HOT 2
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 spine-database-api.