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

Update python-client-reference.md #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 32 additions & 32 deletions docs/python-client-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ print("The length of the array is: ", len(secret_array))
```

```text
>>> The length of the array is: 2
The length of the array is: 2
```


Expand All @@ -194,8 +194,8 @@ print("My secret array: \n", secret_array.value)
```

```text
>>> My secret array:
>>> [, ]
My secret array:
[, ]
```


Expand Down Expand Up @@ -253,7 +253,7 @@ print("Cluster id:", cinfo.id)
```

```text
>>> Cluster id: 147f8d45-2126-4a54-9a64-8141ee55f51a
Cluster id: 147f8d45-2126-4a54-9a64-8141ee55f51a
```


Expand All @@ -273,7 +273,7 @@ print("Statistical sec parameter kappa:", cinfo.kappa)
```

```text
>>> Statistical sec parameter kappa: 40
Statistical sec parameter kappa: 40
```


Expand All @@ -293,7 +293,7 @@ print("Cluster parties' ids:", cinfo.parties)
```

```text
>>> Parties: {'12D3KooWJtRXjmV1HctQgvLUcrdxJ7cXwCHiL6PCheikN2rTJ2ZH',
Parties: {'12D3KooWJtRXjmV1HctQgvLUcrdxJ7cXwCHiL6PCheikN2rTJ2ZH',
'12D3KooWHSveXS4DdXpCQyDDsp9D1x7fiTRnm1fsH9yJRpR6y4FM',
'12D3KooWLV6HzUXpt6Tt5HUM5Fo3mpjvwsv9n4ADkJ962ArAZCvX'}
```
Expand All @@ -318,7 +318,7 @@ print("Polynomial degree:", cinfo.polynomial_degree)
```

```text
>>> Polynomial degree: 1
Polynomial degree: 1
```


Expand All @@ -338,7 +338,7 @@ print("Prime type:", cinfo.prime)
```

```text
>>> Prime: U256SafePrime
Prime: U256SafePrime
```


Expand Down Expand Up @@ -654,7 +654,7 @@ print("Are the public integers the same? ", pub_integer_1 == pub_integer_2)
```

```text
>>> Are the public integers the same? False
Are the public integers the same? False
```


Expand All @@ -679,8 +679,8 @@ print("Public integer is now: ", pub_integer.value)
```

```text
>>> Public integer is: 1
>>> Public integer is now: 2
Public integer is: 1
Public integer is now: 2
```


Expand Down Expand Up @@ -890,8 +890,8 @@ print("Values:\n", values.dict())
```

```text
>>> Values:
>>> {'sec_array': , 'sec_uinteger': , 'sec_integer': }
Values:
{'sec_array': , 'sec_uinteger': , 'sec_integer': }
```


Expand Down Expand Up @@ -1301,8 +1301,8 @@ print("Value: ", result[1])
```

```text
>>> Value ID: 2424a65c-d20c-4635-b864-06c064188dd4
>>> Value: 42
Value ID: 2424a65c-d20c-4635-b864-06c064188dd4
Value: 42
```


Expand Down Expand Up @@ -1430,8 +1430,8 @@ print("Updated stored secret id: ", updated_store_id)
```

```text
>>> Stored secret id: 3c504263-fd3f-40b8-8a1d-9056b7846637
>>> Updated stored secret id: ccdb8036-2635-40d9-9144-2cc89551fce9
Stored secret id: 3c504263-fd3f-40b8-8a1d-9056b7846637
Updated stored secret id: ccdb8036-2635-40d9-9144-2cc89551fce9
```


Expand Down Expand Up @@ -1846,7 +1846,7 @@ print("Default user is always allowed: ", delete_allowed)
```

```text
>>> Default user is always allowed: True
Default user is always allowed: True
```


Expand All @@ -1869,7 +1869,7 @@ print("Default user is always allowed: ", retrieve_allowed)
```

```text
>>> Default user is always allowed: True
Default user is always allowed: True
```


Expand Down Expand Up @@ -1907,7 +1907,7 @@ print("Default user is always allowed: ", update_allowed)
```

```text
>>> Default user is always allowed: True
Default user is always allowed: True
```


Expand Down Expand Up @@ -2130,7 +2130,7 @@ print("Are these blobs the same?", gm_blob == ready_blob)
```

```text
>>> Are these blobs the same? False
Are these blobs the same? False
```


Expand All @@ -2157,8 +2157,8 @@ print("Blob is now: ", blob.value)
```

```text
>>> Blob is: bytearray(b'gm, builder!')
>>> Blob is now: bytearray(b'ready to build!')
Blob is: bytearray(b'gm, builder!')
Blob is now: bytearray(b'ready to build!')
```


Expand Down Expand Up @@ -2189,7 +2189,7 @@ print("Are the secret integers the same? ", sec_integer_1 == sec_integer_2)
```

```text
>>> Are the secret integers the same? False
Are the secret integers the same? False
```

:::warning
Expand Down Expand Up @@ -2217,8 +2217,8 @@ print("Secret integer is now: ", sec_integer.value)
```

```text
>>> Secret integer is: 1
>>> Secret integer is now: 2
Secret integer is: 1
Secret integer is now: 2
```


Expand Down Expand Up @@ -2252,7 +2252,7 @@ print("Are the secret unsigned integers the same? ", sec_uinteger_1 == sec_uinte
```

```text
>>> Are the secret unsigned integers the same? False
Are the secret unsigned integers the same? False
```

:::warning
Expand Down Expand Up @@ -2280,8 +2280,8 @@ print("Secret unsigned integer is now: ", sec_uinteger.value)
```

```text
>>> Secret unsigned integer is: 1
>>> Secret unsigned integer is now: 2
Secret unsigned integer is: 1
Secret unsigned integer is now: 2
```


Expand Down Expand Up @@ -2332,7 +2332,7 @@ print("Are the public unsigned integers the same? ", pub_uinteger_1 == pub_uinte
```

```text
>>> Are the public unsigned integers the same? False
Are the public unsigned integers the same? False
```


Expand All @@ -2357,8 +2357,8 @@ print("Public unsigned integer is now: ", pub_uinteger.value)
```

```text
>>> Public unsigned integer is: 1
>>> Public unsigned integer is now: 2
Public unsigned integer is: 1
Public unsigned integer is now: 2
```


Expand Down