Comments (3)
Some of the private things, such as ValueWidget, are necessary for isinstance check and/or class inheritance,
yep, I agree, ValueWidget
should be public!
as you run into other things that feel like they should be public, take note of them and we'll make sure they're either available, or have reasonable alternatives
from magic-class.
note also that from magicgui._type_wrapper import resolve_annotation
no longer exists... So you should remove usage of it from your code too
from magic-class.
Hi @tlambert03 , thank you for notifying me!
I'll get around to it in a few days.
I would like to be reorganizing a number of things, most of which were private, and these will probably break some of your stuff
Some of the private things, such as ValueWidget
, are necessary for isinstance
check and/or class inheritance, which means we (including all the users) still have to import them from magicgui
. I'll add some try/except to avoid incompatibility, but I think it might be better to make them publically available, or future refactoring (if any?) will cause another confusion.
from magic-class.
Related Issues (20)
- Thread unsafety of macro.
- The "testing" submodule does not appear.
- `dask_thread_worker` and `confirm` is not compatible
- Personalise Path widget HOT 1
- cannot import click error HOT 4
- MagicClassConstructionError is messy
- Return annotation is not supported
- Implement undo
- `@wraps` causes empty tabs or subwindows in some widget types
- Replace `macrokit` with `collections_undo`
- Table widget parameters and methods HOT 8
- move_to_center failing in certain cases HOT 2
- `Optional` in `Annotated` doesn't work
- Partialize macro recording if `partial` is used
- Widget (not value) is passed to callback functions if `vfield` creates container widget.
- `FieldGroup.connect` is not working
- Trouble creating magic-class with two functions, each decorated with @magicgui HOT 2
- would like to remove `magicgui.signature` HOT 2
- Generic typing on field objects
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 magic-class.