Skip to content
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 CreateDictionaryBlock and CreateListBlock #8903

Conversation

Torantulino
Copy link
Member

@Torantulino Torantulino commented Dec 6, 2024

Though this is technically possible with the AddToDictionary and AddToList Blocks, that approach alone feels like a hidden work-around rather than an intuitive feature, and I'm happy with the duplication in the name of better experience for our users here.

Changes 🏗️
Added CreateDictionaryBlock class that creates a dictionary from the provided key-value pairs.
Added CreateListBlock class that creates a list from the provided values.

dictionary

@Torantulino Torantulino requested review from a team as code owners December 6, 2024 22:00
@Torantulino Torantulino requested review from Swiftyos and Bentlybro and removed request for a team December 6, 2024 22:00
Copy link
Contributor

github-actions bot commented Dec 6, 2024

This PR targets the master branch but does not come from dev or a hotfix/* branch.

Automatically setting the base branch to dev.

@github-actions github-actions bot changed the base branch from master to dev December 6, 2024 22:01
@github-actions github-actions bot added documentation Improvements or additions to documentation Forge platform/frontend AutoGPT Platform - Front end platform/backend AutoGPT Platform - Back end platform/blocks size/m labels Dec 6, 2024
Copy link

netlify bot commented Dec 6, 2024

Deploy Preview for auto-gpt-docs ready!

Name Link
🔨 Latest commit ca3c41e
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs/deploys/675b6655d0881c0008b5435b
😎 Deploy Preview https://deploy-preview-8903--auto-gpt-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (dev@eb79c04). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             dev    #8903   +/-   ##
======================================
  Coverage       ?   58.16%           
======================================
  Files          ?      106           
  Lines          ?     5765           
  Branches       ?      720           
======================================
  Hits           ?     3353           
  Misses         ?     2306           
  Partials       ?      106           
Flag Coverage Δ
Linux 57.86% <ø> (?)
Windows 54.64% <ø> (?)
forge 58.03% <ø> (?)
macOS 57.03% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot removed documentation Improvements or additions to documentation Forge platform/frontend AutoGPT Platform - Front end labels Dec 9, 2024
Copy link

netlify bot commented Dec 9, 2024

Deploy Preview for auto-gpt-docs-dev canceled.

Name Link
🔨 Latest commit ca3c41e
🔍 Latest deploy log https://app.netlify.com/sites/auto-gpt-docs-dev/deploys/675b665561c324000805366b

@Torantulino Torantulino added this pull request to the merge queue Dec 12, 2024
Merged via the queue into dev with commit de3c096 Dec 12, 2024
19 checks passed
@Torantulino Torantulino deleted the toran/open-2051-add-blocks-for-instantiating-dictionary-and-list-with-values2 branch December 12, 2024 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants