Skip to content

Commit

Permalink
🐛 Source Mixpanel: publish v0.1.17 (#13450)
Browse files Browse the repository at this point in the history
  • Loading branch information
bazarnov authored Jun 3, 2022
1 parent bdeadfc commit 4fe65c6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
17 changes: 16 additions & 1 deletion airbyte-config/init/src/main/resources/seed/source_specs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -5253,19 +5253,22 @@
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\
\ period after those actions occur during which ad results are counted.\
\ 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\
Expand All @@ -5276,13 +5279,15 @@
- "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\
\ on events and engage records are captured. Otherwise new properties\
\ 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\
Expand All @@ -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\
Expand All @@ -5301,13 +5307,22 @@
- "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"
enum:
- "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: []
Expand Down
2 changes: 1 addition & 1 deletion airbyte-integrations/connectors/source-mixpanel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

import pytest
from airbyte_cdk.models import SyncMode

from source_mixpanel.streams import Export

from .utils import get_url_to_mock, setup_response


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

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
Expand Down

0 comments on commit 4fe65c6

Please sign in to comment.