Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #182 from community-fabric/ipf_v6.0
Browse files Browse the repository at this point in the history
Fix for Attributes
  • Loading branch information
Justin Jeffery authored Nov 17, 2022
2 parents 39a169a + b1faebc commit 2601be4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ipfabric/settings/attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Attributes:
snapshot_id: Optional[str] = Field(default=None, description="Snapshot ID to switch to Local Attributes")

def __post_init__(self):
if self.snapshot_id:
if isinstance(self.snapshot_id, str):
self.snapshot_id = self.client.get_snapshot(self.snapshot_id).snapshot_id

@property
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ipfabric"
version = "v6.0.0-beta.0"
version = "6.0.2"
description = "Python package for interacting with IP Fabric"
authors = [
"Justin Jeffery <justin.jeffery@ipfabric.io>",
Expand Down

0 comments on commit 2601be4

Please sign in to comment.