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
Copy file name to clipboardExpand all lines: docs/attributes.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ Custom Attributes
2
2
==========================
3
3
4
4
Attributes in PynamoDB are classes that are serialized to and from DynamoDB attributes. PynamoDB provides attribute classes
5
-
for all DynamoDB data types, as defined in the `DynamoDB documentation <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html>`_.
5
+
for all DynamoDB data types, as defined in the `DynamoDB documentation <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html>`_.
6
6
Higher level attribute types (internally stored as a DynamoDB data types) can be defined with PynamoDB. Two such types
7
7
are included with PynamoDB for convenience: ``JSONAttribute`` and ``UTCDateTimeAttribute``.
8
8
@@ -193,7 +193,7 @@ These attributes can then be used inside of Model classes just like any other at
193
193
make = UnicodeAttribute(null=False)
194
194
model = UnicodeAttribute(null=True)
195
195
196
-
`As with a model and its top-level attributes <https://github.com/pynamodb/PynamoDB/blob/master/docs/quickstart.rst#changing-items>`_, a PynamoDB MapAttribute will ignore sub-attributes it does not know about during deserialization. As a result, if the item in DynamoDB contains sub-attributes not declared as properties of the corresponding MapAttribute, save() will cause those sub-attributes to be deleted.
196
+
:ref:`As with a model and its top-level attributes <changing-items>`, a PynamoDB MapAttribute will ignore sub-attributes it does not know about during deserialization. As a result, if the item in DynamoDB contains sub-attributes not declared as properties of the corresponding MapAttribute, save() will cause those sub-attributes to be deleted.
197
197
198
198
``DynamicMapAttribute`` is a subclass of ``MapAttribute`` which allows you to mix and match defined attributes and undefined attributes.
Copy file name to clipboardExpand all lines: docs/conditional.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Conditional Operations
4
4
======================
5
5
6
6
Some DynamoDB operations (UpdateItem, PutItem, DeleteItem) support the inclusion of conditions. The user can supply a condition to be
7
-
evaluated by DynamoDB before the operation is performed. See the `official documentation <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html#WorkingWithItems.ConditionalUpdate>`_
7
+
evaluated by DynamoDB before the operation is performed. See the `official documentation <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/WorkingWithItems.html#WorkingWithItems.ConditionalUpdate>`_
8
8
for more details.
9
9
10
10
Suppose that you have defined a `Thread` Model for the examples below.
@@ -32,7 +32,7 @@ Condition Expressions
32
32
33
33
PynamoDB supports creating condition expressions from attributes using a mix of built-in operators and method calls.
34
34
Any value provided will be serialized using the serializer defined for that attribute.
35
-
See the `comparison operator and function reference <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.OperatorsAndFunctions.html>`_
35
+
See the `comparison operator and function reference <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.OperatorsAndFunctions.html>`_
Copy file name to clipboardExpand all lines: docs/local.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ Use PynamoDB Locally
6
6
Several DynamoDB compatible servers have been written for testing and debugging purposes. PynamoDB can be
7
7
used with any server that provides the same API as DynamoDB.
8
8
9
-
PynamoDB has been tested with two DynamoDB compatible servers, `DynamoDB Local <http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html>`_
9
+
PynamoDB has been tested with two DynamoDB compatible servers, `DynamoDB Local <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html>`_
10
10
and `dynalite <https://github.com/mhart/dynalite>`_.
11
11
12
12
To use a local server, you need to set the ``host`` attribute on your ``Model``'s ``Meta`` class to the hostname and port
@@ -34,7 +34,7 @@ that your server is listening on.
34
34
Running dynalite
35
35
^^^^^^^^^^^^^^^^
36
36
37
-
Make sure you have the Node Package Manager installed (see `npm instructions <https://www.npmjs.org/doc/README.html>`_).
37
+
Make sure you have the Node Package Manager installed (see `npm instructions <https://docs.npmjs.com/>`_).
38
38
39
39
Install dynalite::
40
40
@@ -52,13 +52,13 @@ Running DynamoDB Local
52
52
53
53
DynamoDB local is a tool provided by Amazon that mocks the DynamoDB API, and uses a local file to
54
54
store your data. You can use DynamoDB local with PynamoDB for testing, debugging, or offline development.
55
-
For more information, you can read `Amazon's Announcement <http://aws.amazon.com/about-aws/whats-new/2013/09/12/amazon-dynamodb-local/>`_ and
56
-
`Jeff Barr's blog post <http://aws.typepad.com/aws/2013/09/dynamodb-local-for-desktop-development.html>`_ about it.
55
+
For more information, you can read `Amazon's Announcement <https://aws.amazon.com/about-aws/whats-new/2013/09/12/amazon-dynamodb-local/>`_ and
56
+
`Jeff Barr's blog post <https://aws.amazon.com/blogs/aws/dynamodb-local-for-desktop-development/>`_ about it.
57
57
58
-
* Download the `latest version of DynamoDB local <http://dynamodb-local.s3-website-us-west-2.amazonaws.com/dynamodb_local_latest>`_.
58
+
* Download the `latest version of DynamoDB Local <https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html>`_.
59
59
* Unpack the contents of the archive into a directory of your choice.
60
60
61
-
DynamoDB local requires the `Java Runtime Environment <http://java.com/en/>`_ version 7. Make sure the JRE is installed before continuing.
61
+
DynamoDB local requires the `Java Runtime Environment <https://www.java.com/en/>`_ version 7. Make sure the JRE is installed before continuing.
62
62
63
63
From the directory where you unpacked DynamoDB local, you can launch it like this:
Copy file name to clipboardExpand all lines: docs/release_notes.rst
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -510,7 +510,7 @@ will cause a warning to be logged.
510
510
511
511
New features in this release:
512
512
513
-
* Add support for current version of `DynamoDB API<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Appendix.CurrentAPI.html>`_
513
+
* Add support for current version of DynamoDB API
514
514
* Improved ``MapAttribute`` item assignment and access.
515
515
516
516
Contributors to this release:
@@ -546,7 +546,7 @@ If your project was calling those low level methods a warning will be logged.
546
546
547
547
New features in this release:
548
548
549
-
* Add support for current version of `DynamoDB API<http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Appendix.CurrentAPI.html>`_
549
+
* Add support for current version of DynamoDB API
550
550
551
551
Contributors to this release:
552
552
@@ -593,7 +593,7 @@ This is a major release with breaking changes.
593
593
``MapAttribute`` now allows pythonic access when recursively defined.
594
594
If you were not using the ``attr_name=`` kwarg then you should have no problems upgrading.
595
595
Previously defined non subclassed ``MapAttributes`` (raw ``MapAttributes``) that were members of a subclassed ``MapAttribute`` (typed ``MapAttributes``) would have to be accessed like a dictionary.
596
-
Now object access is possible and recommended. See [here](https://github.com/pynamodb/PynamoDB/blob/master/pynamodb/tests/test_attributes.py#L671) for a test example.
596
+
Now object access is possible and recommended.
597
597
Access via the ``attr_name``, also known as the DynamoDB name, will now throw an ``AttributeError``.
598
598
599
599
``UnicodeSetAttributes`` do not json serialize or deserialize anymore.
@@ -1131,7 +1131,7 @@ v1.2.0
1131
1131
1132
1132
* Numerous documentation improvements
1133
1133
* Improved support for conditional operations
1134
-
* Added support for filtering queries on non key attributes (http://aws.amazon.com/blogs/aws/improved-queries-and-updates-for-dynamodb/)
1134
+
* Added support for filtering queries on non key attributes (https://aws.amazon.com/blogs/aws/improved-queries-and-updates-for-dynamodb/)
1135
1135
* Fixed issue with JSON loading where escaped characters caused an error (#17)
0 commit comments