Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit d4b71f9

Browse files
authored
Fix snippets (#130)
1 parent b37a31a commit d4b71f9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/docs/feature_snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"Royalty": [
8181
{
8282
"name": "get_default_royalty_info",
83-
"summary": "Get the royalty recipient and fee ```python royalty_info = contract.royalties.get_default_royalty_info() print(royalty_info) ```",
83+
"summary": "Get the royalty recipient and fee",
8484
"examples": {
8585
"python": "royalty_info = contract.royalties.get_default_royalty_info()\nprint(royalty_info)"
8686
},

docs/docs/snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@
12461246
"methods": [
12471247
{
12481248
"name": "get_default_royalty_info",
1249-
"summary": "Get the royalty recipient and fee ```python royalty_info = contract.royalties.get_default_royalty_info() print(royalty_info) ```",
1249+
"summary": "Get the royalty recipient and fee",
12501250
"example": "royalty_info = contract.royalties.get_default_royalty_info()\nprint(royalty_info)",
12511251
"reference": "https://docs.thirdweb.com/python/contract-royalty#get_default_royalty_info",
12521252
"extensions": [

thirdweb/core/classes/contract_royalty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(
1919
def get_default_royalty_info(self) -> ContractRoyaltySchema:
2020
"""
2121
Get the royalty recipient and fee
22-
22+
2323
```python
2424
royalty_info = contract.royalties.get_default_royalty_info()
2525
print(royalty_info)

0 commit comments

Comments
 (0)