Arts >> Dance >> Dancing Basics

What is the code to get disco ball?

```python

from google.cloud import datastore

For help authenticating your client, visit

https://cloud.google.com/docs/authentication/getting-started

client = datastore.Client()

key = client.key("Task", "sampleTask")

task = datastore.Entity(key)

task.update({

"description": "Learn Cloud Datastore",

"done": False,

"priority": 4,

"disco_ball": b'\xe2\x9c\x85' # unicode string

})

client.put(task)

```

Dancing Basics

Related Categories