Skip to content

Connector secrets on pipelines #42

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

PabloPardoGarcia
Copy link
Member

  • Allow secrets to be passed to connections:
from glassflow import Pipeline, Secret

pipeline = Pipeline(
        name="my-pipeline",
        personal_access_token="my-token",
        transformation_file="transform.py",
        source_kind="google_pubsub",
        source_config={
            "project_id": "my-project-id",
            "subscription_id": "my-subscription-id",
            "credentials_json": Secret(key="mySecret",  personal_access_token="my-token")
        },
)
  • Update API specs

Copy link

github-actions bot commented Feb 20, 2025

Coverage

Coverage Report
FileStmtsMissCoverMissing
__init__.py100100% 
api_client.py290100% 
client.py43197%244
config.py70100% 
pipeline.py2091194%110, 226, 229, 236, 409–410, 413, 436, 509, 517, 533
pipeline_data.py68198%64
secret.py44295%55, 117
space.py41197%108
models
   __init__.py00100% 
models/api
   __init__.py20100% 
   api.py3800100% 
models/errors
   __init__.py60100% 
   clienterror.py26676%47–49, 51, 70–71
   error.py5180%14
   pipeline.py19194%43
   secret.py100100% 
   space.py100100% 
models/operations
   __init__.py20100% 
   pipeline.py170100% 
models/responses
   __init__.py40100% 
   pipeline.py70494%174, 208–210
   secret.py60100% 
   space.py100100% 
TOTAL10182897% 

Tests Skipped Failures Errors Time
72 0 💤 0 ❌ 0 🔥 44.423s ⏱️

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