Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/organization_audit_configuration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# Copyright IBM Corp. 2025, 2026

"""Organization audit configuration operations example.

Demonstrates:
Expand Down
2 changes: 2 additions & 0 deletions examples/organization_token.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# Copyright IBM Corp. 2025, 2026

"""
Organization Token Operations Example

Expand Down
2 changes: 2 additions & 0 deletions examples/task_result.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

import os

from pytfe import TFEClient
Expand Down
2 changes: 2 additions & 0 deletions examples/task_stage_example.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

"""
Example usage of TaskStages API

Expand Down
2 changes: 2 additions & 0 deletions examples/team.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

import argparse
Expand Down
2 changes: 2 additions & 0 deletions examples/team_project_access.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

import argparse
Expand Down
2 changes: 2 additions & 0 deletions examples/team_workspace_access.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# Copyright IBM Corp. 2025, 2026

"""Team-workspace access example.

Demonstrates the new ``client.team_workspace_accesses`` resource (the
Expand Down
2 changes: 2 additions & 0 deletions examples/user.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

"""Example usage of the Users API.

This example demonstrates how to read a user by ID using the Python TFE SDK.
Expand Down
2 changes: 2 additions & 0 deletions examples/workspace_run_task.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python3
# Copyright IBM Corp. 2025, 2026

"""
Workspace Run Task Operations Example

Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/models/organization_audit_configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

from datetime import datetime
Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/models/organization_token.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

from datetime import datetime
Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/models/team_project_access.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

from enum import Enum
Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/resources/organization_audit_configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

from typing import Any
Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/resources/organization_token.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

from datetime import datetime
Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/resources/team.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

import builtins
Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/resources/team_project_access.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

from collections.abc import Iterator
Expand Down
2 changes: 2 additions & 0 deletions src/pytfe/resources/user.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from __future__ import annotations

from ..models.user import User, UserUpdateCurrentOptions
Expand Down
2 changes: 2 additions & 0 deletions tests/units/test_organization_audit_configuration.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

"""Unit tests for organization audit configuration service."""

import os
Expand Down
2 changes: 2 additions & 0 deletions tests/units/test_organization_token.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

"""Unit tests for the organization token module."""

from datetime import datetime
Expand Down
2 changes: 2 additions & 0 deletions tests/units/test_run_task_request.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

"""Unit tests for run task webhook request models."""

from pytfe.models import RunTaskRequest, RunTaskRequestCapabilities
Expand Down
2 changes: 2 additions & 0 deletions tests/units/test_task_results.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

from unittest.mock import Mock

import pytest
Expand Down
2 changes: 2 additions & 0 deletions tests/units/test_task_stage.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

import pytest

from pytfe.client import TFEClient
Expand Down
2 changes: 2 additions & 0 deletions tests/units/test_team.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

"""Unit tests for the team resource."""

from unittest.mock import Mock, patch
Expand Down
2 changes: 2 additions & 0 deletions tests/units/test_user.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Copyright IBM Corp. 2025, 2026

"""Unit tests for the Users resource."""

import copy
Expand Down
Loading