Skip to content

Commit

Permalink
🎨 Correct docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-wojcik committed Apr 4, 2024
1 parent 922ae5a commit 5108fec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions viadot/flows/sap_rfc_to_adls.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ def __init__(
rfc_unique_id=["VBELN", "LPRIO"],
...
)
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. By default, they're taken from the local viadot config.
sap_credentials_key (str, optional): The key for sap credentials located in the local config for Azure Key Vault. Defaults to "SAP".
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. Defaults to None.
sap_credentials_key (str, optional): The key for sap credentials located in the local config or Azure Key Vault. Defaults to "SAP".
env (str, optional): The key for sap_credentials_key pointing to the SAP environment. Defaults to "DEV"
output_file_extension (str, optional): Output file extension - to allow selection of .csv for data which is not easy to handle with parquet. Defaults to ".parquet".
local_file_path (str, optional): Local destination path. Defaults to None.
Expand Down
8 changes: 4 additions & 4 deletions viadot/sources/sap_rfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ def __init__(
in case of too many columns for RFC function. According to SAP documentation, the limit is
512 characters. However, we observed SAP raising an exception even on a slightly lower number
of characters, so we add a safety margin. Defaults to 400.
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. By default, they're taken from the local viadot config.
sap_credentials_key (str, optional): The key for sap credentials located in the local config for Azure Key Vault. Defaults to "SAP".
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. Defaults to None.
sap_credentials_key (str, optional): The key for sap credentials located in the local config or Azure Key Vault. Defaults to "SAP".
env (str, optional): The key for sap_credentials_key pointing to the SAP environment. Defaults to "DEV".
Raises:
Expand Down Expand Up @@ -723,8 +723,8 @@ def __init__(
512 characters. However, we observed SAP raising an exception even on a slightly lower number
of characters, so we add a safety margin. Defaults to 400.
rfc_unique_id (List[str], optional): Reference columns to merge chunks Data Frames. These columns must to be unique. Defaults to None.
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. By default, they're taken from the local viadot config.
sap_credentials_key (str, optional): The key for sap credentials located in the local config for Azure Key Vault. Defaults to "SAP".
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. Defaults to None.
sap_credentials_key (str, optional): The key for sap credentials located in the local config or Azure Key Vault. Defaults to "SAP".
env (str, optional): The key for sap_credentials_key pointing to the SAP environment. Defaults to "DEV".
Raises:
Expand Down
6 changes: 3 additions & 3 deletions viadot/tasks/sap_rfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def __init__(
512 characters. However, we observed SAP raising an exception even on a slightly lower number
of characters, so we add a safety margin. Defaults to 400.
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. By default, they're taken from the local viadot config.
sap_credentials_key (str, optional): The key for sap credentials located in the local config for Azure Key Vault. Defaults to "SAP".
sap_credentials_key (str, optional): The key for sap credentials located in the local config or Azure Key Vault. Defaults to "SAP".
env (str, optional): The key for sap_credentials_key pointing to the SAP environment. Defaults to "DEV".
By default, they're taken from the local viadot config.
"""
Expand Down Expand Up @@ -110,8 +110,8 @@ def run(
multiple options are automatically tried. Defaults to None.
replacement (str, optional): In case of sep is on a columns, set up a new character to replace
inside the string to avoid flow breakdowns. Defaults to "-".
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. By default, they're taken from the local viadot config.
sap_credentials_key (str, optional): The key for sap credentials located in the local config for Azure Key Vault. Defaults to "SAP".
sap_credentials (dict, optional): The credentials to use to authenticate with SAP. Defaults to None.
sap_credentials_key (str, optional): The key for sap credentials located in the local config or Azure Key Vault. Defaults to "SAP".
env (str, optional): The key for sap_credentials_key pointing to the SAP environment. Defaults to "DEV".
func (str, optional): SAP RFC function to use. Defaults to None.
rfc_total_col_width_character_limit (int, optional): Number of characters by which query will be split in chunks
Expand Down

0 comments on commit 5108fec

Please sign in to comment.