Skip to content
This repository has been archived by the owner on Mar 28, 2019. It is now read-only.

Releases: jbasko/autoboto

v0.4.3

18 Sep 12:00
0329afd
Compare
Choose a tag to compare
  • Fixes detection of primitive types in Python 3.7
  • Adds typing_inspect dependency which could simplify type_info.py a lot.
  • Fixes tox pytest arguments for pytest-random-order
  • Fixes test with the new union type hint for "enums"

v0.4.2

16 Sep 21:31
Compare
Choose a tag to compare
  • Remove paginate methods from OutputShapes which don't have pagination so that it doesn't appear in auto-complete.
  • No more enum class because enum value lists in botocore are not complete and also when returning enum value, user wants the real value, not the enum item.
  • Fixes nested dataclasses which have no value set.
  • README updated

v0.3.0

14 Sep 23:40
3ea1f03
Compare
Choose a tag to compare
  • Fixes enum serialisation and deserialisation - #16
  • Adds paginate() method to the objects returned by operations which support pagination.

v0.2.2

10 Sep 23:50
Compare
Choose a tag to compare

v0.2.2

  • Sanity check the code in the build directories. And copy to target_dir only on success.

v0.2.0

  • Extract autoboto generation code in a completely separate non-autoboto package.
  • Use a dedicated directory for test builds.
  • Simplify build directory structure -- do not write directly to autoboto/services. Instead write to a temporary space where all the dependencies are available.
  • Switch to wr-profiles v4.0
  • tox
  • Stop using typing.GenericMeta which is not available in Python 3.7
  • Add boto_fields and autoboto_fields descriptors on all shapes to simplify introspection for user.
  • Expose botocore_version in the generated autoboto package. Expose as a tuple (major, minor, patch). There is no point in exposing boto3 version because it is not used in code generation.

v0.1.0

07 Sep 00:31
d8e2213
Compare
Choose a tag to compare
  • Add response_metadata to all shapes that are output shapes. All Client methods return a dictionary with ResponseMetadata even when they say they return nothing. So we must default to some base response shape (dataclass) which all response shapes inherit from and which has the response_metadata field. It is mandatory anyway.
  • Add property to shapes that allow easy detection if they are strictly output shapes.
  • Add property to shapes that allow easy detection if they are strictly input shapes.
  • Replace Style with BotogenConfig which is backed by BotogenEnv(Profile).
  • Combine generate with Botogen — no need for this separation.
  • Separate development requirements from install requirements - html2text, pygments, yapf and others are not needed for install.
  • Execute all generated shapes modules.
  • Allow passing botogen options via command-line. In particular, the services to generate, the build directory, target package. Allow disabling the formatter so that on the first run we just generate all and execute all without waiting for formatter. Allow passing flag to disable/enable execution of the generated module code.
  • Make Client available at autoboto.services.<service_name>.Client
  • Add string representation for _NOT_SET and make it falsey.
  • Add a README.rst file under autoboto/services telling users and developers that python files in the directory are generated.

v0.0.4

05 Sep 23:57
Compare
Choose a tag to compare
v0.0.4 Pre-release
Pre-release
Release instructions

v0.0.3

05 Sep 00:16
eb79737
Compare
Choose a tag to compare
v0.0.3 Pre-release
Pre-release

First release available on pypi.org