Skip to content

Conversation

@kudj
Copy link
Contributor

@kudj kudj commented Sep 16, 2025

No description provided.

@kudj kudj requested a review from soustruh September 16, 2025 12:54
Copy link
Contributor

@soustruh soustruh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose two tiny changes, please consider yourself whether you find them worth implementing or not…

"""

def __init__(self, api_domain, token, branch_id='default'):
def __init__(self, api_domain, token, branch_id='default', without_files=False):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor readability issue, it's generally recommended to name variables in a positive way, not with a negative meaning. Instead of
if not without_files
you'd end up for example with
if initialize_files_object
which is understandable at first sight without decoding double negation. 🙂

"https://connection.keboola.com".
token (str): A storage API key.
branch_id (str): The ID of branch to use, use 'default' to work without branch (in main).
without_files (bool): If True saves memory by not importing files and libraries for all backends.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing comma 🕵️

@kudj kudj requested a review from soustruh September 16, 2025 13:29
Copy link
Contributor

@soustruh soustruh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes 😇

@kudj kudj requested a review from ujovlado September 16, 2025 13:42
@kudj kudj merged commit c717a7a into master Sep 17, 2025
5 checks passed
@kudj kudj deleted the feature/optional-files-class branch September 17, 2025 06:03
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.

3 participants