1
0
mirror of synced 2025-12-25 02:09:19 -05:00

🐛 Source Mixpanel: publish v0.1.17 (#13450)

This commit is contained in:
Baz
2022-06-03 17:39:18 +03:00
committed by GitHub
parent bdeadfca58
commit 4fe65c6024
4 changed files with 19 additions and 4 deletions

View File

@@ -5241,7 +5241,7 @@
path_in_connector_config:
- "credentials"
- "client_secret"
- dockerImage: "airbyte/source-mixpanel:0.1.16"
- dockerImage: "airbyte/source-mixpanel:0.1.17"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/mixpanel"
connectionSpecification:
@@ -5253,12 +5253,14 @@
additionalProperties: true
properties:
api_secret:
order: 0
title: "Project Token"
type: "string"
description: "Mixpanel project token. See the <a href=\"https://help.mixpanel.com/hc/en-us/articles/115004502806-Find-Project-Token-\"\
>docs</a> for more information on how to obtain this."
airbyte_secret: true
attribution_window:
order: 1
title: "Attribution Window"
type: "integer"
description: " A period of time for attributing results to ads and the lookback\
@@ -5266,6 +5268,7 @@
\ Default attribution window is 5 days."
default: 5
project_timezone:
order: 2
title: "Project Timezone"
type: "string"
description: "Time zone in which integer date times are stored. The project\
@@ -5276,6 +5279,7 @@
- "US/Pacific"
- "UTC"
select_properties_by_default:
order: 3
title: "Select Properties By Default"
type: "boolean"
description: "Setting this config parameter to TRUE ensures that new properties\
@@ -5283,6 +5287,7 @@
\ will be ignored."
default: true
start_date:
order: 4
title: "Start Date"
type: "string"
description: "UTC date and time in the format 2017-01-25T00:00:00Z. Any\
@@ -5292,6 +5297,7 @@
- "2021-11-16"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}Z)?$"
end_date:
order: 5
title: "End Date"
type: "string"
description: "UTC date and time in the format 2017-01-25T00:00:00Z. Any\
@@ -5301,6 +5307,7 @@
- "2021-11-16"
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}(T[0-9]{2}:[0-9]{2}:[0-9]{2}Z)?$"
region:
order: 6
title: "Region"
description: "The region of mixpanel domain instance either US or EU."
type: "string"
@@ -5308,6 +5315,14 @@
- "US"
- "EU"
default: "US"
date_window_size:
order: 7
title: "Date slicing window"
description: "Defines window size in days, that used to slice through data.\
\ You can reduce it, if amount of data in each window is too big for your\
\ environment."
type: "integer"
default: 30
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []

View File

@@ -13,7 +13,7 @@ For information about how to use this connector within Airbyte, see [the documen
#### Build & Activate Virtual Environment and install dependencies
From this connector directory, create a virtual environment:
```
python -m venv .venv
python3 -m venv .venv
```
This will generate a virtualenv for this module in `.venv/`. Make sure this venv is active in your

View File

@@ -11,8 +11,8 @@ from unittest.mock import MagicMock
import pytest
from airbyte_cdk.models import SyncMode
from source_mixpanel.streams import Export
from .utils import get_url_to_mock, setup_response

View File

@@ -6,7 +6,7 @@ import copy
import pytest
from airbyte_cdk import AirbyteLogger
from source_mixpanel.source import TokenAuthenticatorBase64, SourceMixpanel
from source_mixpanel.source import SourceMixpanel, TokenAuthenticatorBase64
from source_mixpanel.streams import FunnelsList
from .utils import get_url_to_mock, setup_response