Skip to content

Commit f01a2af

Browse files
committed
Updated changelog
1 parent a563a0f commit f01a2af

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# v0.1.5
55

66
* `pytfe.__version__` added in src/pytfe/init.py via importlib.metadata.version("pytfe"). This will resolve to the version from pyproject.toml.
7+
* Updated comments, sshkey, stateversion and cost-estimate models to have id as mandatory attribute by @isivaselvan [#137](https://github.com/hashicorp/python-tfe/pull/137)
8+
* Updated workspace resource to include additional relationship models include AgentPool, Configuration-version, Run, Variables and State-version by @isivaselvan [#138](https://github.com/hashicorp/python-tfe/pull/138)
79

810
## Bug Fixes
911
* Run.read / Run.create fail with pydantic ValidationError when response has a `cost-estimate` and `comments` relationship.

src/pytfe/models/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
from .organization import ExecutionMode, Organization
2929
from .project import Project
3030
from .ssh_key import SSHKey
31-
from .variable import Variable
3231
from .state_version import StateVersion
32+
from .variable import Variable
3333

3434
if TYPE_CHECKING:
3535
from .run import Run

src/pytfe/resources/workspaces.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
from ..models.organization import Organization
4040
from ..models.project import Project
4141
from ..models.run import Run
42-
from ..models.variable import Variable
4342
from ..models.state_version import StateVersion
43+
from ..models.variable import Variable
4444
from ..models.workspace import (
4545
ExecutionMode,
4646
LockedByChoice,

0 commit comments

Comments
 (0)