Closed sbellem closed 5 years ago
there's no particular reason. i think by default the attributes of cython classes are visible only at the C level (and not at the python level).
Ok thanks!
I made a tiny PR: #90 that exposes it.
I can put more work into the PR if needed.
closed via #90
I just wonder why it is not possible to access the name of
DB
instance, e.g.:I do not really know how
cython
works. I can see from the code that within theDB
classself.name
is accessible (e.g. in__repr__()
and__str__()
) so I wonder why we cannot access it when using it. Is this a design decision? Just curious.Thanks!