Skip to content

Commit 070ec15

Browse files
JsMelixSoulPancake
andauthored
docs: remove fga_client.close() from README (#191) (#239)
Co-authored-by: Anurag Bandyopadhyay <angbpy@gmail.com>
1 parent 5a8cef4 commit 070ec15

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ async def main():
145145
# Enter a context with an instance of the OpenFgaClient
146146
async with OpenFgaClient(configuration) as fga_client:
147147
api_response = await fga_client.read_authorization_models()
148-
await fga_client.close()
149148
return api_response
150149
```
151150

@@ -171,7 +170,6 @@ async def main():
171170
# Enter a context with an instance of the OpenFgaClient
172171
async with OpenFgaClient(configuration) as fga_client:
173172
api_response = await fga_client.read_authorization_models()
174-
await fga_client.close()
175173
return api_response
176174
```
177175

@@ -200,7 +198,6 @@ async def main():
200198
# Enter a context with an instance of the OpenFgaClient
201199
async with OpenFgaClient(configuration) as fga_client:
202200
api_response = await fga_client.read_authorization_models()
203-
await fga_client.close()
204201
return api_response
205202
```
206203

0 commit comments

Comments
 (0)