Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
ceuk
python-pyfields
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
python-pyfields
pyfields
helpers.py
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Oct 11, 2021
Flake8 fixes
Sylvain MARIE
committed
fb60857
View commit details
Copy full SHA for fb60857
View code at this point
Browse repository at this point
Commits on Jun 21, 2021
New `autocheck` option in the `copy_value` factory, that now raise an error when a field definition can not be valid, because the default value can not be (deep-)copied. `@autofields` and `@autocla…
Show description for 1a578c6
Sylvain MARIE
committed
1a578c6
View commit details
Copy full SHA for 1a578c6
View code at this point
Browse repository at this point
Commits on Sep 22, 2020
Fields order are preserved by `@autofields` even in the case of a field with just a type annotation. Fixed #76
Sylvain MARIE
committed
c8d7adb
View commit details
Copy full SHA for c8d7adb
View code at this point
Browse repository at this point
Commits on Jun 23, 2020
Fixed python 2 compatibility
Sylvain MARIE
committed
7af7784
View commit details
Copy full SHA for 7af7784
View code at this point
Browse repository at this point
New `get_field_values` method to get an ordered dict-like of field name: value. Fixes #70
Sylvain MARIE
committed
24e125c
View commit details
Copy full SHA for 24e125c
View code at this point
Browse repository at this point
`getfields` can now be executed on an instance, and provides a `public_only` option. Fixes #69
Sylvain MARIE
committed
5e5e9e0
View commit details
Copy full SHA for 5e5e9e0
View code at this point
Browse repository at this point
Commits on Jun 12, 2020
`@autofields` now correctly skips `@property` and descriptor members. Fixes #67
Sylvain MARIE
committed
c989ac0
View commit details
Copy full SHA for c989ac0
View code at this point
Browse repository at this point
Commits on Dec 17, 2019
Default values are now validated/converted as normal values. If the default value is provided in `default=<value>` or as a `default_factory=copy_value(<value>)`, this is done only **once per field…
Show description for 4a660c3
Sylvain MARIE
committed
4a660c3
View commit details
Copy full SHA for 4a660c3
View code at this point
Browse repository at this point
Commits on Dec 16, 2019
`set_as_cls_member` now accepts a single `type_hint` OR the full dictionary `owner_cls_type_hints`.
Sylvain MARIE
committed
6ebc9f9
View commit details
Copy full SHA for 6ebc9f9
View code at this point
Browse repository at this point
Commits on Nov 16, 2019
Added API in api reference and updated documentation.
Sylvain MARIE
committed
a09a2cf
View commit details
Copy full SHA for a09a2cf
View code at this point
Browse repository at this point
Commits on Nov 15, 2019
New `get_field` helper method.
Show description for 45990b2
Sylvain MARIE
committed
45990b2
View commit details
Copy full SHA for 45990b2
View code at this point
Browse repository at this point
Commits on Nov 14, 2019
bugfix in case of inheritance with override: fixed #49
Sylvain MARIE
committed
0a5e72e
View commit details
Copy full SHA for 0a5e72e
View code at this point
Browse repository at this point
Commits on Nov 5, 2019
Minor refactoring :
Show description for 3ee986f
Sylvain MARIE
committed
3ee986f
View commit details
Copy full SHA for 3ee986f
View code at this point
Browse repository at this point
Commits on Oct 4, 2019
New `copy_value`, `copy_field` and `copy_attr` helper functions to create default value factories. Fixed #26
Show description for 2bc2ee5
Sylvain MARIE
committed
2bc2ee5
View commit details
Copy full SHA for 2bc2ee5
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.