Skip to content

Commit

Permalink
Merge pull request #178 from atlanhq/DX-318
Browse files Browse the repository at this point in the history
Changed AuthPolicy.create_for_modification to raise NotImplmentedError
  • Loading branch information
ErnestoLoma authored Nov 14, 2023
2 parents e925bc5 + df79414 commit 63d9dac
Show file tree
Hide file tree
Showing 63 changed files with 1,224 additions and 1,122 deletions.
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 1.6.3 (November 14, 2023)

* Changed to support new custom metadata payload
* Add methods to manage Preset Assets
* Add in-cluster optimisation to use services URLs directly
* Changes the logic for generating Google Data Studio asset qualifiedNames

## 1.6.2 (November 7, 2023)

* Add filter to redact HTTP authorization header
Expand Down
10 changes: 10 additions & 0 deletions docs/asset/sisense.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _sisense:

Sisense
=======

.. module:: pyatlan.model.assets
:no-index:

.. autoclass:: Sisense
:members:
10 changes: 10 additions & 0 deletions docs/asset/sisensedashboard.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _sisensedashboard:

SisenseDashboard
================

.. module:: pyatlan.model.assets
:no-index:

.. autoclass:: SisenseDashboard
:members:
10 changes: 10 additions & 0 deletions docs/asset/sisensedatamodel.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _sisensedatamodel:

SisenseDatamodel
================

.. module:: pyatlan.model.assets
:no-index:

.. autoclass:: SisenseDatamodel
:members:
10 changes: 10 additions & 0 deletions docs/asset/sisensedatamodeltable.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _sisensedatamodeltable:

SisenseDatamodelTable
=====================

.. module:: pyatlan.model.assets
:no-index:

.. autoclass:: SisenseDatamodelTable
:members:
10 changes: 10 additions & 0 deletions docs/asset/sisensefolder.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _sisensefolder:

SisenseFolder
=============

.. module:: pyatlan.model.assets
:no-index:

.. autoclass:: SisenseFolder
:members:
10 changes: 10 additions & 0 deletions docs/asset/sisensewidget.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. _sisensewidget:

SisenseWidget
=============

.. module:: pyatlan.model.assets
:no-index:

.. autoclass:: SisenseWidget
:members:
6 changes: 6 additions & 0 deletions docs/assets.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ You can interact with all of the following different kinds of assets:
asset/sigmadatasetcolumn
asset/sigmapage
asset/sigmaworkbook
asset/sisense
asset/sisensedashboard
asset/sisensedatamodel
asset/sisensedatamodeltable
asset/sisensefolder
asset/sisensewidget
asset/snowflakedynamictable
asset/snowflakepipe
asset/snowflakestream
Expand Down
15 changes: 15 additions & 0 deletions pyatlan/generator/templates/methods/asset/auth_policy.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,18 @@
validate_required_fields(["name"], [name])
attributes = AuthPolicy.Attributes._Attributes__create(name=name) #type: ignore
return cls(attributes=attributes)

@classmethod
def create_for_modification(
cls: type[Asset.SelfAsset],
qualified_name: str = "",
name: str = ""
"""
This method is not available for AuthPolicy. Please retrieve the existing policy and then update it in its
entirety.
""",
) -> Asset.SelfAsset:
raise NotImplementedError(
"This method is not available for AuthPolicy. Please retrieve the existing policy"
" and then update it in its entirety."
)
Loading

0 comments on commit 63d9dac

Please sign in to comment.