• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pynamodb / PynamoDB
95%
devel: 95%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: devel
Repo Added 21 Apr 2017 04:28PM UTC
Files 23
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 1.5.4
  • 1.5.x
  • 2.1.6
  • 2.2.0
  • 2.2.x
  • 3-2-0-release
  • 3.0.1
  • 3.1.0
  • 3.2.0
  • 3.2.0rc1
  • 3.2.0rc2
  • 3.2.1
  • 3.3.0
  • 3.3.0rc1
  • 3.3.0rc2
  • 3.3.1
  • 3.3.2
  • 3.3.3
  • 3.4.0
  • 3.4.1
  • 3.x
  • 3_2_1_release_notes
  • 4.0.0a1
  • 4.0.0b1
  • 4.0.0b2
  • 4.0.0b3
  • 4.1.0
  • 4.1.0-production
  • 4.2.0
  • 4.3.0
  • 4.3.1
  • 4.3.2
  • 4.3.3
  • 5.0.0b1
  • 5.0.0b1-release-notes
  • 5.0.0b2
  • 5.0.0b3
  • 5.0.0b4
  • add-consistent-read-test
  • add-python3.6
  • add-scan-consistent-read
  • add-signal
  • allow-json-override
  • amend-release-notes
  • attribute-container-meta
  • billing-mode
  • boto-thread-safety
  • botocore-1.12
  • bug-fix-model-subclass
  • bug/remove_wrong_docstring
  • bugfix-879
  • bump-dev-deps
  • bump-pytest
  • bump-v-4-b-2
  • catch-value-error
  • chained-exceptions
  • chore/update-usage-docs-to-remove-default-region
  • complete-condition-expressions
  • conditional-operations
  • context-manager-apiv2
  • cyril/fix-DeprecationWarning
  • default-updates
  • deprecation-clean-up
  • dict-list-equal-py-2
  • disable-botocore-parameter-validation
  • discriminator
  • doc-fix-links
  • doc_last_evaluated_key
  • document-paths
  • document-settings
  • documentation-updates
  • does_not_exist
  • drop-python-2.6
  • dynamic-map-attribute
  • dynamo-api-version-2
  • empty-sets
  • empty-string
  • exclude_tests_from_dist
  • exclusive-start-key
  • expression-typing
  • extend-condition-expressions
  • feat/add-boto-compatible-retry-configuration
  • feat/add-wait-for-delete-table
  • filter-and-condition-expressions
  • fix-attr-access
  • fix-contains-queries
  • fix-count-type
  • fix-coveralls-readme
  • fix-discriminator-queries
  • fix-dynamo-to-python-attrs
  • fix-last-evaluated-key
  • fix-map-attribute-values
  • fix-model-refresh
  • fix-mypy-tests
  • fix-pyright-model-does-not-exist
  • fix-release-formatting
  • fix-releases
  • fix-sphinx
  • fix-tests
  • fix-tests-link
  • fix-type-error-import
  • fix-type-packaging
  • fix/enum-default-immutable-check
  • fix_billing_mode
  • garrettheel-patch-1
  • getattr-on-dir
  • ikonst-patch-1
  • ikonst-patch-2
  • improve-list-expressions
  • index-generic
  • index-typing-workaround
  • invalid_range_key_condition
  • invalid_range_key_condition2
  • is-master-broken
  • issue-215
  • iterables
  • json-serialization
  • jvm
  • key-condition-expression
  • kill-requests
  • legacy-update-deletes
  • list-attribute-get-item
  • list-of-attribute
  • map-attribute-dereference
  • map-attribute-getitem
  • map-attribute-serialization
  • map-attribute-set-attr
  • map-attribute-set-attr-2
  • map-fixes
  • master
  • meta-maps
  • min-python-3-6
  • model-get-attributes
  • model-inheritence
  • model-loads-attr-name
  • model-polymorphism
  • model-pythonic
  • model-slots
  • model_get_attributes
  • more-backwards-incompatbility
  • move-attribute-tests-to-pytest
  • move-to-github-actions
  • mypy-update
  • new-serialization
  • none-conditions
  • null-attributes
  • null-deserialize-fix
  • op_settings
  • operand-updates
  • partial-fix-for-361
  • pass-batch-params-through
  • pass-limit-to-page-iterator
  • prep-for-update-expression-api
  • prevent-future-datas
  • projection-expressions
  • public-serialization
  • py26-deps
  • py26-yaml
  • pyright
  • query-scan-conditions
  • rc2
  • re-enable-integration-tests
  • readme-no-google-group
  • release-2.1.6
  • release-3.3.1
  • release-4-0-0-b1
  • release-4.2.0
  • release-4.3.0
  • release-note-ypes
  • release-notes
  • release-notes-1
  • release-notes-3.0
  • release-notes-3.1
  • release-notes-3.5.1.rc
  • release-notes-4.1.0
  • remove-deprecated-conditional-apis
  • remove-deprecated-conditional-apis-indexes
  • remove-imp-import
  • remove-load-dump
  • remove-py2-support
  • remove-serialize-key-map
  • remove-snake-to-camel-case
  • remove_attribute_type_map
  • remove_range_key_condition_demotion
  • resubmit-pytest
  • revert-754
  • revert-back-to-nose
  • rm-authors
  • rm-backup-restore
  • rm-legacy-boolean-attribute
  • rm-model-context-manager
  • rm-result-set
  • secondary-index-scan
  • separate-test-files
  • set-attr-on-map-attribute
  • signals
  • simplify-serialization
  • slim-auth
  • strict-utc-date-time-attribute-parsing
  • subset-update-syntax
  • surgo-change
  • table-load-deserialize-hash-key
  • test-with-s3-link
  • testing
  • total-scanned-count
  • travis-release
  • ttl-serialize
  • ttl-typeshed
  • type-stubs
  • typestub_last_evaluated_type
  • typestub_pagination
  • unicode-set-attribute-upgrade-path
  • unicode-set-boolean
  • update-docs
  • update-expression
  • update-expression-api
  • update-expression-context-manager
  • update-expression-docs
  • update-expressions
  • update-release-notes-b3
  • use-timezone-utc

24 Apr 2026 10:54AM UTC coverage: 95.146% (+0.001%) from 95.145%
24885829788

push

github

web-flow
Allow Enum values as attribute defaults (#1302)

Enum instances are immutable by design but were rejected by the
immutability check introduced in PynamoDB 6.0. Adding Enum to
_IMMUTABLE_TYPES allows using e.g. `default=MyEnum.VALUE` directly
without having to wrap it in a lambda.

Closes #1301

2 of 2 new or added lines in 1 file covered. (100.0%)

2862 of 3008 relevant lines covered (95.15%)

6.62 hits per line

Relevant lines Covered
Build:
Build:
3008 RELEVANT LINES 2862 COVERED LINES
6.62 HITS PER LINE
Source Files on
  • Tree
  • List 23
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24885829788 master Allow Enum values as attribute defaults (#1302) Enum instances are immutable by design but were rejected by the immutability check introduced in PynamoDB 6.0. Adding Enum to _IMMUTABLE_TYPES allows using e.g. `default=MyEnum.VALUE` directly witho... push 24 Apr 2026 10:55AM UTC web-flow github
95.15
24875945006 fix/enum-default-immutable-check Merge 494184176 into 47f7d705f Pull #1302 24 Apr 2026 10:39AM UTC web-flow github
95.15
20753435360 master Remove wrong docstring in Model.update() (#1298) Remove wrong docstring push 06 Jan 2026 03:43PM UTC web-flow github
95.14
20429664013 bug/remove_wrong_docstring Merge 8446a6586 into 2f8e8bb60 Pull #1298 23 Dec 2025 06:26PM UTC web-flow github
95.14
15639511110 fix-pyright-model-does-not-exist Merge a21000a08 into 2f8e8bb60 Pull #1277 13 Jun 2025 04:37PM UTC web-flow github
94.89
15639302171 pyright Merge 40dad4e1d into 2f8e8bb60 Pull #1276 13 Jun 2025 04:26PM UTC web-flow github
94.89
15639177330 pyright Merge 0c8fae6ff into 2f8e8bb60 Pull #1276 13 Jun 2025 04:18PM UTC web-flow github
94.89
15347955449 master feat: add wait argument to `Model.delete_table` (#1270) This adds a `wait` argument that will make the `delete_table` call block until the DynamoDB table is fully deleted if set to `True`. It defaults to `False` to not break the existing behavior. push 30 May 2025 01:34PM UTC web-flow github
94.89
15347664079 feat/add-wait-for-delete-table Merge 9c9f0604b into 65e4b5f32 Pull #1270 30 May 2025 01:18PM UTC web-flow github
94.89
15347647620 master feat: allow setting or unsetting the boto retry configuration (#1271) This adds the ability to directly set the boto retry configuration dictionary, or to leave it unset and allow botocore to automatically discover the configuration from the envi... push 30 May 2025 01:18PM UTC web-flow github
94.89
See All Builds (2413)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc