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

pynamodb / PynamoDB
95%
devel: 95%

Build:
Build:
LAST BUILD BRANCH: fix-pyright-model-does-not-exist
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: master
CHANGE BRANCH
x
Reset
  • master
  • 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
  • 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

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 master
  • 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
20753435360 master Remove wrong docstring in Model.update() (#1298) Remove wrong docstring push 06 Jan 2026 03:43PM UTC web-flow github
95.14
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
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
15033144026 master chore(docs): remove default region reference in docs (#1267) This removes the reference to the default region being us-east-1 if not specified in the Model's Meta class. This is no longer true as of version 6.0.0. push 14 May 2025 11:32PM UTC web-flow github
94.86
15032039333 master Fix test_connection_make_api_call__binary_attributes (#1269) push 14 May 2025 10:07PM UTC web-flow github
94.86
12952434090 master Fix DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. (#1261) * Fix DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future ... push 24 Jan 2025 03:20PM UTC web-flow github
94.86
10718324268 master docs: fix heading level (#1254) Fixes the indentation in docs sidebar push 05 Sep 2024 10:10AM UTC web-flow github
94.83
9291515422 master document PR #1226 fix push 29 May 2024 06:48PM UTC web-flow github
94.83
9291466226 master Release 6.0.1 push 29 May 2024 06:44PM UTC web-flow github
94.83
See All Builds (2414)
  • 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