Skip to content

feat: upload local model without any extra file generation (PMMODEL-682) #211

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

Merged
merged 3 commits into from
Apr 30, 2025

Conversation

djm21
Copy link
Collaborator

@djm21 djm21 commented Apr 28, 2025

No description provided.

@djm21 djm21 requested a review from smlindauer April 28, 2025 19:17
if repository is None and repo_name is None:
raise ValueError("Unable to find a default repository")

if repository is None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we combine these if statements for easier readability?

if not repository and not repo_name:
    raise ValueError("Unable to find a default repository")
elif not repository:
    raise ValueError(f"Unable to find repository '{repository}'")

@djm21 djm21 merged commit b05d667 into master Apr 30, 2025
14 of 20 checks passed
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.

2 participants