Skip to content

Commit ee1c17f

Browse files
committed
docs: remove fga_client.close() from README (#191)
1 parent 6f06c2f commit ee1c17f

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
@@ -142,7 +142,6 @@ async def main():
142142
# Enter a context with an instance of the OpenFgaClient
143143
async with OpenFgaClient(configuration) as fga_client:
144144
api_response = await fga_client.read_authorization_models()
145-
await fga_client.close()
146145
return api_response
147146
```
148147

@@ -168,7 +167,6 @@ async def main():
168167
# Enter a context with an instance of the OpenFgaClient
169168
async with OpenFgaClient(configuration) as fga_client:
170169
api_response = await fga_client.read_authorization_models()
171-
await fga_client.close()
172170
return api_response
173171
```
174172

@@ -197,7 +195,6 @@ async def main():
197195
# Enter a context with an instance of the OpenFgaClient
198196
async with OpenFgaClient(configuration) as fga_client:
199197
api_response = await fga_client.read_authorization_models()
200-
await fga_client.close()
201198
return api_response
202199
```
203200

0 commit comments

Comments
 (0)