Frequently Asked Questions#
What are all of the Property options?#
The property types are documented in the JSON Schema helper classes. However, if you’re using an IDE such as VSCode, you should be able to set up the environment to give you autocompletion prompts or hints. Ensure your interpreter is set to poetry if you’ve followed the Dev Guide. Checkout this gif for how to change your interpreter.
Handling credentials and other secrets in config#
As of SDK version
0.13.0, developers can use the
secret=True indication in the
Property class constructor to flag secrets such as API tokens and passwords. We recommend all developers use this option where applicable so that orchestrators may consider this designation when determining how to store the user’s provided config.
I’m having trouble getting the base class to init.#
Ensure you’re using the
super() method to inherit methods from the base class.
"""Mystream stream class."""
def __init__(self, tap: Tap):
Note: Progress is not resumable if interrupted. in my state files#
If the stream attribute
False) is not set to
True, the records are assumed not to be monotonically increasing, i.e. there’s no guarantee that newer records always come later and the tap has to run to completion so the state can safely reflect the largest replication value seen. If you know that the records are monotonically increasing, you can set
True and the sync will be resumable if it’s interrupted at any point and the state file will reflect this.
is_sorted = True