-
Notifications
You must be signed in to change notification settings - Fork 16
A bunch of feature #1
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
Open
Arthur-Milchior
wants to merge
29
commits into
agoose77:master
Choose a base branch
from
Arthur-Milchior:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
216aeb5
test text
Arthur-Milchior 5f5b32e
test enum
Arthur-Milchior 08080a3
test boolean
Arthur-Milchior 07bea04
spin respect min/max and steps
Arthur-Milchior 5d85aee
use a dict to send type to their default method
Arthur-Milchior ea9fd82
ignore tmp files
Arthur-Milchior b7482db
ignore pycache
Arthur-Milchior 9351cc6
pep8 and sort import
Arthur-Milchior 44b3b56
add default value for numeric
Arthur-Milchior dbb03d0
return default for const
Arthur-Milchior 126b63a
default value when no type, enum nor const
Arthur-Milchior cbfb0d6
deal with values of multiple possible types
Arthur-Milchior 54c53a0
separate list and tuple defaults
Arthur-Milchior d596bab
list_default return min_items elements
Arthur-Milchior c1f7900
deal with "contains" in list
Arthur-Milchior a7529be
default boolean
Arthur-Milchior 5c38f34
string default
Arthur-Milchior 6d104ed
apply max length to string
Arthur-Milchior 6b5f3f2
comments
Arthur-Milchior d3c9702
USAGE.md
Arthur-Milchior c2553e9
allow to give a parent window
Arthur-Milchior 16625af
default empty ui_schema
Arthur-Milchior ea2a337
save layout as FormWidget parameter
Arthur-Milchior 74a57e7
directory for file
Arthur-Milchior 54c558e
tool tip over labels in objects
Arthur-Milchior 37017b7
error message for some wrong value
Arthur-Milchior b715080
remove example and redirects to test
Arthur-Milchior d803b11
create get_widget_variant
Arthur-Milchior ae1b255
all __init__ have args ans kwargs
Arthur-Milchior File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest changing this to
return defaults.get(schema_type)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand your point.
your code return a function. It does not apply it to the schema.
Of course I could do
return defaults.get(schema_type, lambda _: None)(schema)but it does not really seems interesting