Skip to content

add godo support for simulations rpcs - #1094

Merged
anup-deka merged 3 commits into
digitalocean:mainfrom
sshirolkar:sshirolkar/simulations
Aug 31, 2026
Merged

add godo support for simulations rpcs#1094
anup-deka merged 3 commits into
digitalocean:mainfrom
sshirolkar:sshirolkar/simulations

Conversation

@sshirolkar

Copy link
Copy Markdown
Contributor

add godo support for simulations rpcs

Comment thread gradientai_simulations.go

// CreateScenarioSet creates a scenario set from inline scenarios or an uploaded file.
func (s *GradientAIServiceOp) CreateScenarioSet(ctx context.Context, createRequest *CreateScenarioSetRequest) (*ScenarioSet, *Response, error) {
if createRequest == nil {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we add some validations for required values in request where required?
Like for eg -
CreateScenarioSetUploadPresignedURLs → Files are required
GenerateScenarioSet → name is required
CreateSimulationRun → scenario_set_uuid is required

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done

@anup-deka anup-deka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me

@anup-deka
anup-deka merged commit 50ed595 into digitalocean:main Aug 31, 2026
8 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.

3 participants