question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I pass parameters to snapshot_create?

See original GitHub issue

Was wondering how I’m able to pass label/extra parameters to snapshot.

The following method of adding params doesn’t work. Was wondering if it had anything to do with how snapshot_create was written.

params = dict()
params['label] = 'new snapshot'
vultr.snapshot_create(subid,params=params)

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
doprycommented, Mar 30, 2017

Are you using the current pip release or master? The instructions I linked you to are for master. You should probably use the master branch instead of version on pypi. I’ve been meaning to cut a new release, but haven’t had time to wrap up the testing. ᐧ

On Thu, Mar 30, 2017 at 3:01 PM, rlam3 notifications@github.com wrote:

@dopry https://github.com/dopry I’m getting the following error:

TypeError: snapshot_create() got an unexpected keyword argument ‘params’

Is the way param is assigned causing the problem? Could having params in your function variable and inside the scope causing this issue?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spry-group/python-vultr/issues/39#issuecomment-290511798, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXqOG9_EFxfEinTQBnuMhbCUGAtN8FMks5rq_v4gaJpZM4Mq8iD .

– Darrel O’Pry The Spry Group, LLC. http://www.spry-group.com 718-355-9767 x101

0reactions
rlam3commented, Mar 30, 2017

@dopry sounds good! thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to pass configuration parameters to snapshot ...
I have a build configuration A that has a configuration parameter param.one ... Build configuration A has two snapshot dependencies 1 and 2....
Read more >
Override parameter in snapshots dependencies in TeamCity
Since TeamCity 9.0, there is a possibility to override the dependencies parameters by redefining them in the dependent build. For example,  ...
Read more >
How to create snapshot of the report output for parameters ...
We are converting crystal reports to SSRS. We are trying to access SSRS from asp.net and viewing the output of the report through...
Read more >
TeamCity : Propagating parameters to snapshot dependencies
TeamCity supports passing the parameters between dependencies via the dep.* parameters, but only in the other direction. I contacted the support ...
Read more >
create-snapshot — AWS CLI 1.27.37 Command Reference
To create a snapshot of a volume in a Region, omit this parameter. The snapshot is created in the same Region as the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found