question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

actual_value and fixed=False

See original GitHub issue

The Flow attributes actual_value and fixed do only make sense beeing used together if fixed=True. In case of fixed=False the actual_value will be ignored without an error message beeing raised. Therefore I propose to add another error message to the collection of # Checking for impossible attribute combinations in the Flow and to clearify in the documentation that fixed=False leads to actual_value is ignored.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
uvchikcommented, Sep 24, 2019

Which behaviour do you expect as you set an actual_value but fixed=False?

This is related to #547. In this issue I suggested to rename actual_value to fixed_value and remove the fixed attribute. The reason is that the actual_value does not make sense without fixed set to True, so I think we could combine both information in one attribute. The actual_value would make sense if different use cases for this attribute exist but I don’t know any.

@simnh objected against my suggestion but he did not explain why.

0reactions
uvchikcommented, May 8, 2020

Done!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Variable capacity for sink - Q&A - Open Energy Modelling Initiative
setting a nominal capacity and specifying an actual value (fixed = false): the actual value is ignored. Any ideas or suggestions on how...
Read more >
W3C XML Schema Definition Language (XSD) 1.1 Part 1
[Definition:] With reference to any string, interpreted as denoting an instance of a given datatype, the term actual value denotes the value to ......
Read more >
Does a string match a regular expression? — expect_match ...
Should all elements of actual value match regexp (TRUE), or does only one need to match (FALSE). info. Extra information to be included...
Read more >
Chapter 6 Advanced Features | Bayesian inference with INLA
Secondly, both point estimates are very close to the actual value of the coefficient, which is 2. Hence, the model works as expected....
Read more >
You needn't be wrong to be called delusional - The Guardian
The usual definition is a fixed false belief out of keeping with the ... infinitely less morbid, text that has actual value in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found