-
Notifications
You must be signed in to change notification settings - Fork 44.5k
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
feat(blocks): Add Slant 3D printing via API service #8805
base: dev
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for auto-gpt-docs-dev canceled.
|
✅ Deploy Preview for auto-gpt-docs canceled.
|
…into ntindle/provider/slant3d
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
||
if color_tag not in valid_tags: | ||
raise ValueError( | ||
f"Invalid color profile combination {color_tag}. Valid colors for {profile.value} are: {','.join([filament['colorTag'].replace(profile.value.lower(), '') for filament in response['filaments'] if filament['profile'] == profile.value])}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please split this into multiple lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
# Slant3D doesn't return a webhook ID, so we generate one | ||
# The actual webhook is identified by its endpoint URL | ||
webhook_id = str(__import__("uuid").uuid4()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__import__("uuid").uuid4()
👎🏼- This isn't a structural solution. If there is no real ID the field should be left empty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be documented better, I'd expect this to be None, but the signature only allows str
I want to be able to have agents 3d print things and deliver them to my house!
Changes 🏗️
Checklist 📋
For code changes:
Test Plan