19th April 2021
DevOps⚑
Continuous Integration⚑
Flakehell⚑
-
Correction: Update the git repository.
The existent repository has been archived in favor of this one
Coding⚑
Python⚑
Boto3⚑
-
New: Introduce the AWS SDK library and explain how to test it.
Boto3 is the AWS SDK for Python to create, configure, and manage AWS services, such as Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Simple Storage Service (Amazon S3). The SDK provides an object-oriented API as well as low-level access to AWS services.
For testing, try to use moto, using the Botocore's stubber as fallback option.
DeepDiff⚑
-
Improvement: Remove advice to use my fork instead.
The original one has already merged my PR
\\ ٩( ᐛ )و //
. Beware though as theregexp
are not enabled by default (against my will). You need to use theuse_regexp=True
as an argument togrep
orDeepSearch
.
FactoryBoy⚑
Python Snippets⚑
-
Correction: Add warning about the method to use direct dependencies.
Last time I used this solution, when I added the library on a
setup.py
the direct dependencies weren't installed :S
Pydantic⚑
-
New: Explain how to update entity attributes with a dictionary.
You can create a new object with the new data using the
update
argument of thecopy
entity method.
Arts⚑
Writing⚑
-
New: Explain when to use I'm good or I'm well.
Use I'm well when referring to being ill, use I'm good for the rest.
Other⚑
-
New: Explain how to select a random choice from
Enum
objects.pydantic uses
Enum
objects to define the choices of fields, so we need them to create the factories of those objects.