mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-07-23 09:22:18 +00:00
parent
e9f66e26b4
commit
a39b59b6b4
@ -84,8 +84,8 @@ class DynamodbSource(CommonNoSQLSource):
|
||||
Method to get actual data available within table
|
||||
need to be overridden by sources
|
||||
"""
|
||||
attributes = []
|
||||
try:
|
||||
attributes = []
|
||||
scan_kwargs = {}
|
||||
done = False
|
||||
start_key = None
|
||||
@ -103,7 +103,7 @@ class DynamodbSource(CommonNoSQLSource):
|
||||
logger.warning(
|
||||
f"Failed to read DynamoDB attributes for [{table_name}]: {err}"
|
||||
)
|
||||
return []
|
||||
return attributes
|
||||
|
||||
def get_source_url(
|
||||
self,
|
||||
|
@ -11,7 +11,7 @@
|
||||
"""
|
||||
DynamoDB Models
|
||||
"""
|
||||
from typing import Dict, List, Optional
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
from pydantic import BaseModel
|
||||
|
||||
@ -22,4 +22,4 @@ class TableResponse(BaseModel):
|
||||
"""
|
||||
|
||||
Items: Optional[List[Dict]] = []
|
||||
LastEvaluatedKey: Optional[str] = None
|
||||
LastEvaluatedKey: Optional[Any] = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user