File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525class DynamoDBTable (Table ):
2626 """Description"""
2727
28+ @classmethod
29+ def creator (cls , ** kwargs ) -> DynamoDBTable :
30+ raise NotImplementedError (
31+ "DynamoDBTable does not support the creator() method inherited from Table, "
32+ "as it does not require a parent schema. "
33+ "If you need this functionality, please raise a feature request."
34+ )
35+
2836 type_name : str = Field (default = "DynamoDBTable" , allow_mutation = False )
2937
3038 @validator ("type_name" )
Original file line number Diff line number Diff line change 1+ import pytest
2+
3+ from pyatlan .model .assets import DynamoDBTable
4+
5+
6+ def test_creator_raises_not_implemented_error ():
7+ with pytest .raises (NotImplementedError ):
8+ DynamoDBTable .creator (
9+ name = "test" ,
10+ schema_qualified_name = "default/dynamodb/1234/test_db/test_schema" ,
11+ )
You can’t perform that action at this time.
0 commit comments