Skip to content

Commit e5eeccb

Browse files
committed
docs: Fix missing async in example
1 parent 5f17d71 commit e5eeccb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/endpoints/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ This section contains API documentation for the methods implementing the differe
44

55
The methods listed can be called on an instance of the [`HarborAsyncClient`][harborapi.client.HarborAsyncClient] class:
66

7-
87
```py
98
from harborapi import HarborAsyncClient
109

1110
client = HarborAsyncClient(...)
1211

13-
def main() -> None:
12+
async def main() -> None:
1413
projects = await client.get_projects()
1514
repos = await client.get_repositories()
1615

0 commit comments

Comments
 (0)