Coder Social home page Coder Social logo

Comments (3)

tlambert03 avatar tlambert03 commented on June 18, 2024 1

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.

tlambert03 avatar tlambert03 commented on June 18, 2024

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.

hanjinliu avatar hanjinliu commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.