-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add slots to DB table classes #24
Comments
Adding slots is a bit of a challenge here. for each property we set a "private" counterpart of it. So for a property @oberstet is that desirable/expected ? |
Good question! In a way, the general question actually is: How to combine
in Python, and if that is useful / desirable in the first place. Let's first find the answer to that .. |
Is the point of the cfxdb/cfxdb/eventstore/event.py Line 41 in edf5603
|
the reason to have both rgd the specific domain of walltime/timestamps (the example you linked): this has evolved in xbr db classes to:
that is, accessing there have been a handful reason why it has evolved into that (could expand if of interest) .. the example you linked is not xbr, but from event store (wamp event persistency), and this predates the xbr stuff where "timestamp" has evolved. another example is UUID - also #38 |
The DB table classes currently lack slots (as in eg https://github.com/crossbario/autobahn-python/blob/5b3f28549f48fc0f3df54512dd6a2eb1826fbcd2/autobahn/wamp/message.py#L540).
We should use slots - part of the reasons is that it avoids accidently setting a non-existing attribute
The text was updated successfully, but these errors were encountered: