raymondbutcher / pretf

Generate Terraform code with Python
https://pretf.readthedocs.io/
MIT License
104 stars 14 forks source link

Docs not in line with latest package #51

Closed Dyllaann closed 4 years ago

Dyllaann commented 4 years ago

Heyo,

I just started playing around with pretf, as you suggested here. Though, I tried the flatten example, but the latest pip package does not yet contain the delete_links method in the workflow.py.

Python 3.6.9 (default, Nov  7 2019, 10:44:02)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pretf import workflow
>>> workflow.delete_links()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'pretf.workflow' has no attribute 'delete_links' 

The latest release of the pip package seems to be September'19. Is that correct @raymondbutcher?

raymondbutcher commented 4 years ago

Hi @Dyllaann. Thanks for trying it out. On the docs site you can change the version from latest to stable and it should match the version on pip. In github you can view the latest tag for the examples to match up with the docs and pip.

And yep, there hasn’t been a pip release for a while. The current version works well and I’m taking my time with new ideas/features to hopefully get them right.