Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 3 additions & 1 deletion sources/pipedrive/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
To get an api key: https://pipedrive.readme.io/docs/how-to-find-the-api-token
"""

from typing import Any, Dict, Iterator, List, Optional, Union, Iterable, Iterator, Tuple
from typing import Any, Dict, Iterator, List, Optional, Union, Iterator

import dlt

Expand Down Expand Up @@ -53,6 +53,8 @@ def pipedrive_source(
stages
users
leads
projects
tasks

For custom fields rename the `custom_fields_mapping` resource must be selected or loaded before other resources.

Expand Down
3 changes: 1 addition & 2 deletions sources/pipedrive/helpers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Pipedrive source helpers"""

from dlt.common import pendulum
from typing import Any, Iterable, Tuple, Dict, List, cast
from typing import Any, Iterable, Tuple, Dict, List
from itertools import groupby


Expand Down
2 changes: 1 addition & 1 deletion sources/pipedrive/helpers/custom_fields_munger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any, Dict, Iterable, Iterator, TypedDict, Optional
from typing import Any, Dict, TypedDict, Optional

import dlt

Expand Down
4 changes: 1 addition & 3 deletions sources/pipedrive/helpers/pages.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from itertools import chain, groupby
from itertools import chain
from typing import (
Any,
Dict,
Iterable,
Iterator,
List,
Optional,
Sequence,
TypeVar,
Union,
)
Expand Down
2 changes: 2 additions & 0 deletions sources/pipedrive/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
"organization": "organizations",
"pipeline": "pipelines",
"product": "products",
"project": "projects",
"stage": "stages",
"task": "tasks",
"user": "users",
}
Loading