Skip to content

Commit 58c5f7e

Browse files
committed
chore: fixed code formatting issues
1 parent 6e39500 commit 58c5f7e

485 files changed

Lines changed: 3817 additions & 3983 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ repos:
33
rev: v6.0.0
44
hooks:
55
- id: check-yaml
6+
exclude: ^\.github/workflows/
67
- id: end-of-file-fixer
78
- id: trailing-whitespace
89
- id: debug-statements
10+
exclude: ^pyatlan_v9/model/assets/_overlays/
911

1012
# Use uv to run formatting and QA tools
1113
- repo: https://github.com/astral-sh/ruff-pre-commit

pyatlan/client/common/file.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44
from pathlib import Path
55
from typing import Any
66

7+
from pyatlan.client.constants import (
8+
API,
9+
PRESIGNED_URL,
10+
PRESIGNED_URL_DOWNLOAD,
11+
PRESIGNED_URL_UPLOAD_AZURE_BLOB,
12+
PRESIGNED_URL_UPLOAD_GCS,
13+
PRESIGNED_URL_UPLOAD_S3,
14+
)
15+
from pyatlan.errors import ErrorCode
16+
from pyatlan.model.file import CloudStorageIdentifier, PresignedURLRequest
17+
718
# System directories that must never be read from.
819
_SENSITIVE_SYSTEM_PREFIXES = (
920
"/etc/",
@@ -26,17 +37,6 @@ def _parse_env_list(env_var: str) -> list:
2637
val = os.environ.get(env_var, "")
2738
return [p.strip() for p in val.split(",") if p.strip()] if val else []
2839

29-
from pyatlan.client.constants import (
30-
API,
31-
PRESIGNED_URL,
32-
PRESIGNED_URL_DOWNLOAD,
33-
PRESIGNED_URL_UPLOAD_AZURE_BLOB,
34-
PRESIGNED_URL_UPLOAD_GCS,
35-
PRESIGNED_URL_UPLOAD_S3,
36-
)
37-
from pyatlan.errors import ErrorCode
38-
from pyatlan.model.file import CloudStorageIdentifier, PresignedURLRequest
39-
4040

4141
class FilePresignedUrl:
4242
"""

pyatlan_v9/model/assets/_init_adf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88
This module provides convenient imports for all ADF types and their Related variants.
99
"""
1010

11+
from .adf import ADF
12+
from .adf_activity import AdfActivity
13+
from .adf_dataflow import AdfDataflow
14+
from .adf_dataset import AdfDataset
15+
from .adf_linkedservice import AdfLinkedservice
16+
from .adf_pipeline import AdfPipeline
1117
from .adf_related import (
1218
RelatedADF,
1319
RelatedAdfActivity,
@@ -16,12 +22,6 @@
1622
RelatedAdfLinkedservice,
1723
RelatedAdfPipeline,
1824
)
19-
from .adf import ADF
20-
from .adf_activity import AdfActivity
21-
from .adf_dataflow import AdfDataflow
22-
from .adf_dataset import AdfDataset
23-
from .adf_linkedservice import AdfLinkedservice
24-
from .adf_pipeline import AdfPipeline
2525

2626
__all__ = [
2727
"ADF",

pyatlan_v9/model/assets/_init_adls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
This module provides convenient imports for all ADLS types and their Related variants.
99
"""
1010

11+
from .adls import ADLS
12+
from .adls_account import ADLSAccount
13+
from .adls_container import ADLSContainer
14+
from .adls_object import ADLSObject
1115
from .adls_related import (
1216
RelatedADLS,
1317
RelatedADLSAccount,
1418
RelatedADLSContainer,
1519
RelatedADLSObject,
1620
)
17-
from .adls import ADLS
18-
from .adls_account import ADLSAccount
19-
from .adls_container import ADLSContainer
20-
from .adls_object import ADLSObject
2121

2222
__all__ = [
2323
"ADLS",

pyatlan_v9/model/assets/_init_ai.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
This module provides convenient imports for all AI types and their Related variants.
99
"""
1010

11+
from .ai import AI
12+
from .ai_application import AIApplication
13+
from .ai_model import AIModel
14+
from .ai_model_version import AIModelVersion
1115
from .ai_related import (
1216
RelatedAI,
1317
RelatedAIApplication,
1418
RelatedAIModel,
1519
RelatedAIModelVersion,
1620
)
17-
from .ai import AI
18-
from .ai_application import AIApplication
19-
from .ai_model import AIModel
20-
from .ai_model_version import AIModelVersion
2121

2222
__all__ = [
2323
"AI",

pyatlan_v9/model/assets/_init_airflow.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,9 @@
88
This module provides convenient imports for all Airflow types and their Related variants.
99
"""
1010

11-
from .airflow_related import (
12-
RelatedAirflow,
13-
RelatedAirflowDag,
14-
RelatedAirflowTask,
15-
)
1611
from .airflow import Airflow
1712
from .airflow_dag import AirflowDag
13+
from .airflow_related import RelatedAirflow, RelatedAirflowDag, RelatedAirflowTask
1814
from .airflow_task import AirflowTask
1915

2016
__all__ = [

pyatlan_v9/model/assets/_init_anaplan.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
This module provides convenient imports for all Anaplan types and their Related variants.
99
"""
1010

11+
from .anaplan import Anaplan
12+
from .anaplan_app import AnaplanApp
13+
from .anaplan_dimension import AnaplanDimension
14+
from .anaplan_line_item import AnaplanLineItem
15+
from .anaplan_list import AnaplanList
16+
from .anaplan_model import AnaplanModel
17+
from .anaplan_module import AnaplanModule
18+
from .anaplan_page import AnaplanPage
1119
from .anaplan_related import (
1220
RelatedAnaplan,
1321
RelatedAnaplanApp,
@@ -21,14 +29,6 @@
2129
RelatedAnaplanView,
2230
RelatedAnaplanWorkspace,
2331
)
24-
from .anaplan import Anaplan
25-
from .anaplan_app import AnaplanApp
26-
from .anaplan_dimension import AnaplanDimension
27-
from .anaplan_line_item import AnaplanLineItem
28-
from .anaplan_list import AnaplanList
29-
from .anaplan_model import AnaplanModel
30-
from .anaplan_module import AnaplanModule
31-
from .anaplan_page import AnaplanPage
3232
from .anaplan_system_dimension import AnaplanSystemDimension
3333
from .anaplan_view import AnaplanView
3434
from .anaplan_workspace import AnaplanWorkspace

pyatlan_v9/model/assets/_init_anomalo.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@
88
This module provides convenient imports for all Anomalo types and their Related variants.
99
"""
1010

11-
from .anomalo_related import (
12-
RelatedAnomalo,
13-
RelatedAnomaloCheck,
14-
)
1511
from .anomalo import Anomalo
1612
from .anomalo_check import AnomaloCheck
13+
from .anomalo_related import RelatedAnomalo, RelatedAnomaloCheck
1714

1815
__all__ = [
1916
"Anomalo",

pyatlan_v9/model/assets/_init_api.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
This module provides convenient imports for all API types and their Related variants.
99
"""
1010

11+
from .api import API
12+
from .api_field import APIField
13+
from .api_object import APIObject
14+
from .api_path import APIPath
15+
from .api_query import APIQuery
1116
from .api_related import (
1217
RelatedAPI,
1318
RelatedAPIField,
@@ -16,11 +21,6 @@
1621
RelatedAPIQuery,
1722
RelatedAPISpec,
1823
)
19-
from .api import API
20-
from .api_field import APIField
21-
from .api_object import APIObject
22-
from .api_path import APIPath
23-
from .api_query import APIQuery
2424
from .api_spec import APISpec
2525

2626
__all__ = [

pyatlan_v9/model/assets/_init_app.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,8 @@
88
This module provides convenient imports for all App types and their Related variants.
99
"""
1010

11-
from .app_related import (
12-
RelatedApp,
13-
RelatedApplication,
14-
RelatedApplicationField,
15-
)
1611
from .app import App
12+
from .app_related import RelatedApp, RelatedApplication, RelatedApplicationField
1713
from .application import Application
1814
from .application_field import ApplicationField
1915

0 commit comments

Comments
 (0)