Skip to content

Commit a911885

Browse files
bleonardlazebnyi
andauthored
source-mixpanel: ensure inline schemas, updated cdk, poetry (where possible) (#36651)
Co-authored-by: Serhii Lazebnyi <[email protected]> Co-authored-by: Serhii Lazebnyi <[email protected]>
1 parent b92b3d9 commit a911885

File tree

12 files changed

+207
-30
lines changed

12 files changed

+207
-30
lines changed

airbyte-integrations/connectors/source-mixpanel/metadata.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ data:
1111
connectorSubtype: api
1212
connectorType: source
1313
definitionId: 12928b32-bf0a-4f1e-964f-07e12e37153a
14-
dockerImageTag: 2.2.0
14+
dockerImageTag: 2.2.2
1515
dockerRepository: airbyte/source-mixpanel
1616
documentationUrl: https://docs.airbyte.com/integrations/sources/mixpanel
1717
githubIssueLabel: source-mixpanel
@@ -33,10 +33,10 @@ data:
3333
breakingChanges:
3434
2.0.0:
3535
message:
36-
In this release, the default primary key for stream Export has been deleted,
37-
allowing users to select the key that best fits their data.
38-
Refreshing the source schema and resetting affected streams is necessary
39-
only if new primary keys are to be applied following the upgrade.
36+
In this release, the default primary key for stream Export has been
37+
deleted, allowing users to select the key that best fits their data. Refreshing
38+
the source schema and resetting affected streams is necessary only if new
39+
primary keys are to be applied following the upgrade.
4040
upgradeDeadline: "2023-11-30"
4141
1.0.0:
4242
message:

airbyte-integrations/connectors/source-mixpanel/poetry.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

airbyte-integrations/connectors/source-mixpanel/pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
33
build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
6-
version = "2.2.0"
6+
version = "2.2.2"
77
name = "source-mixpanel"
88
description = "Source implementation for Mixpanel."
99
authors = [ "Airbyte <[email protected]>",]
@@ -17,7 +17,7 @@ include = "source_mixpanel"
1717

1818
[tool.poetry.dependencies]
1919
python = "^3.9,<3.12"
20-
airbyte-cdk = "^0"
20+
airbyte-cdk = "0.80.0"
2121

2222
[tool.poetry.scripts]
2323
source-mixpanel = "source_mixpanel.run:run"

airbyte-integrations/connectors/source-mixpanel/source_mixpanel/schemas/annotations.json

+8
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,36 @@
33
"type": "object",
44
"properties": {
55
"date": {
6+
"description": "The date of the annotation in ISO 8601 date-time format.",
67
"type": ["null", "string"],
78
"format": "date-time"
89
},
910
"project_id": {
11+
"description": "The identifier of the project to which the annotation belongs.",
1012
"type": ["null", "integer"]
1113
},
1214
"id": {
15+
"description": "The unique identifier of the annotation.",
1316
"type": ["null", "integer"]
1417
},
1518
"description": {
19+
"description": "The description or notes associated with the annotation.",
1620
"type": ["null", "string"]
1721
},
1822
"user": {
23+
"description": "Information about the user who created the annotation.",
1924
"type": "object",
2025
"properties": {
2126
"id": {
27+
"description": "The unique identifier of the user.",
2228
"type": ["null", "integer"]
2329
},
2430
"first_name": {
31+
"description": "The first name of the user.",
2532
"type": ["null", "string"]
2633
},
2734
"last_name": {
35+
"description": "The last name of the user.",
2836
"type": ["null", "string"]
2937
}
3038
}

airbyte-integrations/connectors/source-mixpanel/source_mixpanel/schemas/cohort_members.json

+15
Original file line numberDiff line numberDiff line change
@@ -3,49 +3,64 @@
33
"type": "object",
44
"properties": {
55
"cohort_id": {
6+
"description": "The unique identifier of the cohort to which the member belongs",
67
"type": ["null", "integer"]
78
},
89
"distinct_id": {
10+
"description": "The distinct identifier of the cohort member",
911
"type": ["null", "string"]
1012
},
1113
"browser": {
14+
"description": "The web browser used by the cohort member",
1215
"type": ["null", "string"]
1316
},
1417
"browser_version": {
18+
"description": "The version of the web browser used by the cohort member",
1519
"type": ["null", "string"]
1620
},
1721
"city": {
22+
"description": "The city where the cohort member is located",
1823
"type": ["null", "string"]
1924
},
2025
"country_code": {
26+
"description": "The country code of the country where the cohort member is located",
2127
"type": ["null", "string"]
2228
},
2329
"region": {
30+
"description": "The region where the cohort member is located",
2431
"type": ["null", "string"]
2532
},
2633
"timezone": {
34+
"description": "The timezone of the cohort member",
2735
"type": ["null", "string"]
2836
},
2937
"last_seen": {
38+
"description": "The date and time when the cohort member was last seen",
3039
"type": ["null", "string"],
3140
"format": "date-time"
3241
},
3342
"email": {
43+
"description": "The email address of the cohort member",
3444
"type": ["null", "string"]
3545
},
3646
"name": {
47+
"description": "The name of the cohort member",
3748
"type": ["null", "string"]
3849
},
3950
"first_name": {
51+
"description": "The first name of the cohort member",
4052
"type": ["null", "string"]
4153
},
4254
"last_name": {
55+
"description": "The last name of the cohort member",
4356
"type": ["null", "string"]
4457
},
4558
"id": {
59+
"description": "The unique identifier of the cohort member",
4660
"type": ["null", "string"]
4761
},
4862
"unblocked": {
63+
"description": "Indicator of whether the cohort member is unblocked",
4964
"type": ["null", "string"]
5065
}
5166
}

airbyte-integrations/connectors/source-mixpanel/source_mixpanel/schemas/cohorts.json

+8
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,36 @@
44
"additionalProperties": true,
55
"properties": {
66
"id": {
7+
"description": "The unique identifier of the cohort data.",
78
"type": ["null", "integer"]
89
},
910
"data_group_id": {
11+
"description": "The identifier of the data group to which the cohort belongs.",
1012
"type": ["null", "integer"]
1113
},
1214
"name": {
15+
"description": "The name or title of the cohort data.",
1316
"type": ["null", "string"]
1417
},
1518
"description": {
19+
"description": "A brief description or summary of the cohort data.",
1620
"type": ["null", "string"]
1721
},
1822
"created": {
23+
"description": "The date and time when the cohort data was created.",
1924
"type": ["null", "string"],
2025
"format": "date-time"
2126
},
2227
"count": {
28+
"description": "The total count or number associated with the cohort data.",
2329
"type": ["null", "integer"]
2430
},
2531
"is_visible": {
32+
"description": "A flag indicating the visibility status of the cohort data.",
2633
"type": ["null", "integer"]
2734
},
2835
"project_id": {
36+
"description": "The identifier of the project to which the cohort data belongs.",
2937
"type": ["null", "integer"]
3038
}
3139
}

airbyte-integrations/connectors/source-mixpanel/source_mixpanel/schemas/engage.json

+14
Original file line numberDiff line numberDiff line change
@@ -3,46 +3,60 @@
33
"type": "object",
44
"properties": {
55
"distinct_id": {
6+
"description": "The unique identifier for the user.",
67
"type": ["null", "string"]
78
},
89
"browser": {
10+
"description": "The type of browser used by the user.",
911
"type": ["null", "string"]
1012
},
1113
"browser_version": {
14+
"description": "The version of the browser used by the user.",
1215
"type": ["null", "string"]
1316
},
1417
"city": {
18+
"description": "The city where the user is located.",
1519
"type": ["null", "string"]
1620
},
1721
"country_code": {
22+
"description": "The country code of the user's location.",
1823
"type": ["null", "string"]
1924
},
2025
"region": {
26+
"description": "The region where the user is located.",
2127
"type": ["null", "string"]
2228
},
2329
"timezone": {
30+
"description": "The timezone of the user's location.",
2431
"type": ["null", "string"]
2532
},
2633
"last_seen": {
34+
"description": "The date and time when the user was last seen.",
2735
"type": ["null", "string"],
2836
"format": "date-time"
2937
},
3038
"email": {
39+
"description": "The email address of the user.",
3140
"type": ["null", "string"]
3241
},
3342
"name": {
43+
"description": "The full name of the user.",
3444
"type": ["null", "string"]
3545
},
3646
"first_name": {
47+
"description": "The first name of the user.",
3748
"type": ["null", "string"]
3849
},
3950
"last_name": {
51+
"description": "The last name of the user.",
4052
"type": ["null", "string"]
4153
},
4254
"id": {
55+
"description": "The unique ID associated with the user.",
4356
"type": ["null", "string"]
4457
},
4558
"unblocked": {
59+
"description": "Indicates whether the user is unblocked or not.",
4660
"type": ["null", "string"]
4761
}
4862
}

0 commit comments

Comments
 (0)