Skip to content
Draft
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
15 changes: 0 additions & 15 deletions ingestr/src/attio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ def attio_source(
@dlt.resource(
name="objects",
write_disposition="replace",
columns={
"created_at": {"data_type": "timestamp", "partition": True},
},
)
# https://docs.attio.com/rest-api/endpoint-reference/objects/list-objects - does not support pagination
def fetch_objects() -> Iterator[dict]:
Expand All @@ -32,9 +29,6 @@ def fetch_objects() -> Iterator[dict]:
@dlt.resource(
name="records",
write_disposition="replace",
columns={
"created_at": {"data_type": "timestamp", "partition": True},
},
)
def fetch_records() -> Iterator[dict]:
if len(params) != 1:
Expand All @@ -50,9 +44,6 @@ def fetch_records() -> Iterator[dict]:
@dlt.resource(
name="lists",
write_disposition="replace",
columns={
"created_at": {"data_type": "timestamp", "partition": True},
},
)
def fetch_lists() -> Iterator[dict]:
path = "lists"
Expand All @@ -62,9 +53,6 @@ def fetch_lists() -> Iterator[dict]:
@dlt.resource(
name="list_entries",
write_disposition="replace",
columns={
"created_at": {"data_type": "timestamp", "partition": True},
},
)
def fetch_list_entries() -> Iterator[dict]:
if len(params) != 1:
Expand All @@ -78,9 +66,6 @@ def fetch_list_entries() -> Iterator[dict]:
@dlt.resource(
name="all_list_entries",
write_disposition="replace",
columns={
"created_at": {"data_type": "timestamp", "partition": True},
},
)
def fetch_all_list_entries() -> Iterator[dict]:
if len(params) != 1:
Expand Down