Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use meltano-map-transform PyPI distribution #1943

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

edgarrmondragon
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for meltano-hub ready!

Name Link
🔨 Latest commit 4240ea0
🔍 Latest deploy log https://app.netlify.com/sites/meltano-hub/deploys/67aa6c479a865e0008bfc1af
😎 Deploy Preview https://deploy-preview-1943--meltano-hub.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Feb 10, 2025

Testing plugin meltano-map-transformer (meltano variant):

Starting test job...
...
Job completed.

Auto-generated README.md

meltano-map-transformer

A map transformer which implements the Stream Maps capability.

Built with the Meltano Singer SDK.

Capabilities

  • stream-maps

Settings

Setting Required Default Description
stream_maps True None Stream maps
flattening_enabled False None 'True' to enable schema flattening and automatically expand nested properties.
flattening_max_depth False None The max depth to flatten schemas.
stream_map_config False None User-defined config values to be used within map expressions.
faker_config False None Config for the Faker instance variable fake used within map expressions. Only applicable if the plugin specifies faker as an additional dependency (through the singer-sdk faker extra or directly).
faker_config.seed False None Value to seed the Faker generator for deterministic output: https://faker.readthedocs.io/en/master/#seeding-the-generator
faker_config.locale False None One or more LCID locale strings to produce localized output for: https://faker.readthedocs.io/en/master/#localization

A full list of supported settings and capabilities is available by running: meltano-map-transformer --about

Version info
meltano-map-transformer v[could not be detected], Meltano SDK v0.44.3
Usage info
melty-bot % meltano-map-transform --help
Usage: meltano-map-transform [OPTIONS]

  Execute the Singer mapper.

Options:
  --version                 Display the package version.
  --about                   Display package metadata and settings.
  --format [json|markdown]  Specify output style for --about
  --config TEXT             Configuration file location or 'ENV' to use
                            environment variables.
  --input FILENAME          A path to read messages from instead of from
                            standard in.
  --help                    Show this message and exit.
Detected capabilities
  • ❌ 'discover'
  • ❌ 'catalog'
  • ❌ 'properties'
  • ❌ 'state'
  • ✅ 'about'
JSON Metadata
{
  "name": "meltano-map-transformer",
  "description": "A map transformer which implements the Stream Maps capability.",
  "version": "[could not be detected]",
  "sdk_version": "0.44.3",
  "supported_python_versions": null,
  "capabilities": [
    "stream-maps"
  ],
  "settings": {
    "type": "object",
    "properties": {
      "stream_maps": {
        "type": "object",
        "properties": {},
        "additionalProperties": {
          "type": [
            "object",
            "string",
            "null"
          ],
          "properties": {
            "__filter__": {
              "type": [
                "string",
                "null"
              ]
            },
            "__source__": {
              "type": [
                "string",
                "null"
              ]
            },
            "__alias__": {
              "type": [
                "string",
                "null"
              ]
            },
            "__else__": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                null,
                "__NULL__"
              ]
            },
            "__key_properties__": {
              "type": [
                "array",
                "null"
              ],
              "items": {
                "type": "string"
              }
            }
          },
          "additionalProperties": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "description": "Stream maps"
      },
      "flattening_enabled": {
        "type": [
          "boolean",
          "null"
        ],
        "description": "'True' to enable schema flattening and automatically expand nested properties."
      },
      "flattening_max_depth": {
        "type": [
          "integer",
          "null"
        ],
        "description": "The max depth to flatten schemas."
      },
      "stream_map_config": {
        "type": [
          "object",
          "null"
        ],
        "properties": {},
        "title": "User Stream Map Configuration",
        "description": "User-defined config values to be used within map expressions."
      },
      "faker_config": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "seed": {
            "oneOf": [
              {
                "type": [
                  "number"
                ]
              },
              {
                "type": [
                  "string"
                ]
              },
              {
                "type": [
                  "boolean"
                ]
              },
              {
                "type": "null"
              }
            ],
            "title": "Faker Seed",
            "description": "Value to seed the Faker generator for deterministic output: https://faker.readthedocs.io/en/master/#seeding-the-generator"
          },
          "locale": {
            "oneOf": [
              {
                "type": [
                  "string"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": [
                    "string"
                  ]
                }
              },
              {
                "type": "null"
              }
            ],
            "title": "Faker Locale",
            "description": "One or more LCID locale strings to produce localized output for: https://faker.readthedocs.io/en/master/#localization"
          }
        },
        "title": "Faker Configuration",
        "description": "Config for the [`Faker`](https://faker.readthedocs.io/en/master/) instance variable `fake` used within map expressions. Only applicable if the plugin specifies `faker` as an additional dependency (through the `singer-sdk` `faker` extra or directly)."
      }
    },
    "required": [
      "stream_maps"
    ],
    "$schema": "https://json-schema.org/draft/2020-12/schema"
  }
}

@edgarrmondragon edgarrmondragon self-assigned this Feb 10, 2025
@edgarrmondragon edgarrmondragon changed the title Use meltano-map-transform PyPI distribution fix: Use meltano-map-transform PyPI distribution Feb 10, 2025
@edgarrmondragon edgarrmondragon marked this pull request as ready for review February 10, 2025 21:02
@edgarrmondragon edgarrmondragon marked this pull request as draft February 10, 2025 21:02
@edgarrmondragon edgarrmondragon marked this pull request as ready for review February 10, 2025 21:16
@edgarrmondragon edgarrmondragon merged commit 1a1be9a into main Feb 10, 2025
10 checks passed
@edgarrmondragon edgarrmondragon deleted the edgarrmondragon-patch-3 branch February 10, 2025 21:16
github-merge-queue bot pushed a commit to meltano/meltano that referenced this pull request Feb 11, 2025
<!--

Please, go through these steps when you submit a PR.

1. Make sure your branch is not protected. In particular, avoid making
PRs from the `main` branch of your fork.

2. Give a descriptive title to your PR. We use semantic titles, and the
accepted types and scopes are listed in
https://github.com/meltano/meltano/blob/main/.github/semantic.yml.

   A good title should look like this:

   ```
feat(cli): The `meltano run` command now accepts a `--timeout` option to
limit the time it runs
   ```

3. Provide a description of your changes.

4. Put "Closes #XXXX" in your comment to auto-close the issue that your
PR fixes (if such).

-->

## Description

<!-- Describe the changes introduced by this PR -->


https://deploy-preview-9084--meltano.netlify.app/guide/mappers#example-1.

## Related Issues

* meltano/hub#1943
* MeltanoLabs/meltano-map-transform#341
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant