Comments (3)
SBK-427 Runtime Signal Data Acquistion
from silverback.
This all sounds good and seems pretty clear.
Only thing I wonder is if we should either error or otherwise handle other return types for backwards compatibility and flexibility. Like maybe we could coerce that return to the default
key/tag/label in the wanted return type. For example:
if not is_dict_of_datapoints(return_value):
return_value = {"default": BlobDatapoint(data=return_value)}
Then that would get ignored in the blackbox metrics displays but be available via the UI to the user. I still think blob returns could be powerful for users.
from silverback.
This all sounds good and seems pretty clear.
Only thing I wonder is if we should either error or otherwise handle other return types for backwards compatibility and flexibility. Like maybe we could coerce that return to the
default
key/tag/label in the wanted return type. For example:if not is_dict_of_datapoints(return_value): return_value = {"default": BlobDatapoint(data=return_value)}Then that would get ignored in the blackbox metrics displays but be available via the UI to the user. I still think blob returns could be powerful for users.
Wanted to mention I'm doing a version of this, but only if it's a valid numeric type that we can actually display, not for any random return value type
My implementation so far is to support simple numeric datapoints, or you can subclass BaseDatapoint for a more powerful model type (we can serialize it for storage as <task_name>.<key_name>
to pull for timeseries data)
from silverback.
Related Issues (20)
- [SBK-314] Add REST API for command/control/monitoring
- bug(client): rounding error on allowance #227 [SBK-341]
- bug(client): Transaction processing error on approve() #228 [SBK-342]
- discussion: start_block parameter in decorator [SBK-360] HOT 2
- bug: BlockNotFoundError: Missing latest block. Reason: when sending a str, it must be a hex string. Got: 'latest' HOT 2
- Not a valid TransactionType error with goerli/sepolia testnet HOT 14
- feat: Logging results to console HOT 2
- Allow filtering for Event Log tasks HOT 1
- Refactor Runner to be stateless HOT 1
- Managed Parameters HOT 1
- Gracefully resolve shutdown HOT 1
- use GHCR instead of Dockerhub HOT 1
- `silverback worker` does not use independent processes per worker HOT 4
- bug: websockets.exceptions.ConnectionClosedError: no close frame received or sent HOT 2
- More dynamic broker configuration HOT 8
- Track `app.signer` transactions in `TaskResult` HOT 1
- Add autosign to runner HOT 1
- !breaking: reference newly created base ape image for the silverback image HOT 1
- feat: add support for defining tools and settings in toml HOT 1
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 silverback.