Skip to content

Commit

Permalink
source-mixpanel: ensure inline schemas, updated cdk, poetry (where po…
Browse files Browse the repository at this point in the history
…ssible) (#36651)

Co-authored-by: Serhii Lazebnyi <53845333+lazebnyi@users.noreply.github.com>
Co-authored-by: Serhii Lazebnyi <serhii.lazebnyi@globallogic.com>
  • Loading branch information
3 people committed May 7, 2024
1 parent b92b3d9 commit a911885
Show file tree
Hide file tree
Showing 12 changed files with 207 additions and 30 deletions.
10 changes: 5 additions & 5 deletions airbyte-integrations/connectors/source-mixpanel/metadata.yaml
Expand Up @@ -11,7 +11,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 12928b32-bf0a-4f1e-964f-07e12e37153a
dockerImageTag: 2.2.0
dockerImageTag: 2.2.2
dockerRepository: airbyte/source-mixpanel
documentationUrl: https://docs.airbyte.com/integrations/sources/mixpanel
githubIssueLabel: source-mixpanel
Expand All @@ -33,10 +33,10 @@ data:
breakingChanges:
2.0.0:
message:
In this release, the default primary key for stream Export has been deleted,
allowing users to select the key that best fits their data.
Refreshing the source schema and resetting affected streams is necessary
only if new primary keys are to be applied following the upgrade.
In this release, the default primary key for stream Export has been
deleted, allowing users to select the key that best fits their data. Refreshing
the source schema and resetting affected streams is necessary only if new
primary keys are to be applied following the upgrade.
upgradeDeadline: "2023-11-30"
1.0.0:
message:
Expand Down
36 changes: 18 additions & 18 deletions airbyte-integrations/connectors/source-mixpanel/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Expand Up @@ -3,7 +3,7 @@ requires = [ "poetry-core>=1.0.0",]
build-backend = "poetry.core.masonry.api"

[tool.poetry]
version = "2.2.0"
version = "2.2.2"
name = "source-mixpanel"
description = "Source implementation for Mixpanel."
authors = [ "Airbyte <contact@airbyte.io>",]
Expand All @@ -17,7 +17,7 @@ include = "source_mixpanel"

[tool.poetry.dependencies]
python = "^3.9,<3.12"
airbyte-cdk = "^0"
airbyte-cdk = "0.80.0"

[tool.poetry.scripts]
source-mixpanel = "source_mixpanel.run:run"
Expand Down
Expand Up @@ -3,28 +3,36 @@
"type": "object",
"properties": {
"date": {
"description": "The date of the annotation in ISO 8601 date-time format.",
"type": ["null", "string"],
"format": "date-time"
},
"project_id": {
"description": "The identifier of the project to which the annotation belongs.",
"type": ["null", "integer"]
},
"id": {
"description": "The unique identifier of the annotation.",
"type": ["null", "integer"]
},
"description": {
"description": "The description or notes associated with the annotation.",
"type": ["null", "string"]
},
"user": {
"description": "Information about the user who created the annotation.",
"type": "object",
"properties": {
"id": {
"description": "The unique identifier of the user.",
"type": ["null", "integer"]
},
"first_name": {
"description": "The first name of the user.",
"type": ["null", "string"]
},
"last_name": {
"description": "The last name of the user.",
"type": ["null", "string"]
}
}
Expand Down
Expand Up @@ -3,49 +3,64 @@
"type": "object",
"properties": {
"cohort_id": {
"description": "The unique identifier of the cohort to which the member belongs",
"type": ["null", "integer"]
},
"distinct_id": {
"description": "The distinct identifier of the cohort member",
"type": ["null", "string"]
},
"browser": {
"description": "The web browser used by the cohort member",
"type": ["null", "string"]
},
"browser_version": {
"description": "The version of the web browser used by the cohort member",
"type": ["null", "string"]
},
"city": {
"description": "The city where the cohort member is located",
"type": ["null", "string"]
},
"country_code": {
"description": "The country code of the country where the cohort member is located",
"type": ["null", "string"]
},
"region": {
"description": "The region where the cohort member is located",
"type": ["null", "string"]
},
"timezone": {
"description": "The timezone of the cohort member",
"type": ["null", "string"]
},
"last_seen": {
"description": "The date and time when the cohort member was last seen",
"type": ["null", "string"],
"format": "date-time"
},
"email": {
"description": "The email address of the cohort member",
"type": ["null", "string"]
},
"name": {
"description": "The name of the cohort member",
"type": ["null", "string"]
},
"first_name": {
"description": "The first name of the cohort member",
"type": ["null", "string"]
},
"last_name": {
"description": "The last name of the cohort member",
"type": ["null", "string"]
},
"id": {
"description": "The unique identifier of the cohort member",
"type": ["null", "string"]
},
"unblocked": {
"description": "Indicator of whether the cohort member is unblocked",
"type": ["null", "string"]
}
}
Expand Down
Expand Up @@ -4,28 +4,36 @@
"additionalProperties": true,
"properties": {
"id": {
"description": "The unique identifier of the cohort data.",
"type": ["null", "integer"]
},
"data_group_id": {
"description": "The identifier of the data group to which the cohort belongs.",
"type": ["null", "integer"]
},
"name": {
"description": "The name or title of the cohort data.",
"type": ["null", "string"]
},
"description": {
"description": "A brief description or summary of the cohort data.",
"type": ["null", "string"]
},
"created": {
"description": "The date and time when the cohort data was created.",
"type": ["null", "string"],
"format": "date-time"
},
"count": {
"description": "The total count or number associated with the cohort data.",
"type": ["null", "integer"]
},
"is_visible": {
"description": "A flag indicating the visibility status of the cohort data.",
"type": ["null", "integer"]
},
"project_id": {
"description": "The identifier of the project to which the cohort data belongs.",
"type": ["null", "integer"]
}
}
Expand Down
Expand Up @@ -3,46 +3,60 @@
"type": "object",
"properties": {
"distinct_id": {
"description": "The unique identifier for the user.",
"type": ["null", "string"]
},
"browser": {
"description": "The type of browser used by the user.",
"type": ["null", "string"]
},
"browser_version": {
"description": "The version of the browser used by the user.",
"type": ["null", "string"]
},
"city": {
"description": "The city where the user is located.",
"type": ["null", "string"]
},
"country_code": {
"description": "The country code of the user's location.",
"type": ["null", "string"]
},
"region": {
"description": "The region where the user is located.",
"type": ["null", "string"]
},
"timezone": {
"description": "The timezone of the user's location.",
"type": ["null", "string"]
},
"last_seen": {
"description": "The date and time when the user was last seen.",
"type": ["null", "string"],
"format": "date-time"
},
"email": {
"description": "The email address of the user.",
"type": ["null", "string"]
},
"name": {
"description": "The full name of the user.",
"type": ["null", "string"]
},
"first_name": {
"description": "The first name of the user.",
"type": ["null", "string"]
},
"last_name": {
"description": "The last name of the user.",
"type": ["null", "string"]
},
"id": {
"description": "The unique ID associated with the user.",
"type": ["null", "string"]
},
"unblocked": {
"description": "Indicates whether the user is unblocked or not.",
"type": ["null", "string"]
}
}
Expand Down

0 comments on commit a911885

Please sign in to comment.