Skip to content
This repository has been archived by the owner on Sep 23, 2024. It is now read-only.

Refresh streams schema #194

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

asmisha
Copy link

@asmisha asmisha commented Oct 14, 2022

My view on #129

deanmorin and others added 7 commits October 6, 2021 16:57
A later commit modifies tests/test_streams_utils.py, and I noticed it
was the only file really using tabs in this repo. Changed it to spaces,
and replaced a few other random ones.
Fixes transferwise#128

- Moves the bulk of the code out of the context manager
  (open_connection) since it isn't needed.
- Creates private functions for merging existing metadata and schema to
  dicts with those in `new_discovery`.
- Aliases `metadata` (from singer) to `metadata_util`. I kept using
  `metadata` as a local var when developing by accident and breaking
  things.
Changed from debug -> info level. I deployed the changes from this PR,
and I wanted to make sure things were working as expected. It was in an
environment with sensitive data, so I wasn't able to simply switch to
debug level since that would lead the sensitive data to the logs. Also
added the column being affected to the message.
@asmisha asmisha closed this Apr 10, 2024
@asmisha asmisha reopened this Apr 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants