Skip to content

fixed import issues#172

Merged
isivaselvan merged 1 commit into
hashicorp:next-1.0.0from
NimishaShrivastava-dev:fix-organization-token-import
May 25, 2026
Merged

fixed import issues#172
isivaselvan merged 1 commit into
hashicorp:next-1.0.0from
NimishaShrivastava-dev:fix-organization-token-import

Conversation

@NimishaShrivastava-dev

Copy link
Copy Markdown
Contributor

Summary

Fixed the import issue in organization_token.py caused by OrganizationTokenCreateOptions not being available from pytfe.models.

Changes

  • Updated the import handling for organization token models.
  • Resolved the ImportError encountered while running examples/organization_token.py.

Issue

Running:

python examples/organization_token.py

resulted in:

ImportError: cannot import name 'OrganizationTokenCreateOptions' from 'pytfe.models'

Validation

Verified the fix by:

  • Creating a branch from next-1.0.0
  • Running the example after the changes
  • Confirming the import no longer fails

Notes

This change only fixes the import/export issue and does not modify the existing organization token functionality.
image
image

@NimishaShrivastava-dev NimishaShrivastava-dev requested a review from a team as a code owner May 25, 2026 09:20
@isivaselvan isivaselvan merged commit 56eb90e into hashicorp:next-1.0.0 May 25, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants