Skip to content

Commit 28aba5d

Browse files
committed
DEVDOCS-10418 - adding codeDepot markers
1 parent 0878307 commit 28aba5d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/rooms/examples/eg003_export_data_from_room.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ def get_rooms(args):
2121
2. Get rooms
2222
"""
2323
# Step 1. Create an API client with headers
24+
#ds-snippet-start:Rooms3Step2
2425
api_client = create_rooms_api_client(access_token=args["access_token"])
26+
#ds-snippet-end:Rooms3Step2
2527

2628
# Step 2. Get room templates
2729
rooms_api = RoomsApi(api_client)
@@ -38,9 +40,11 @@ def worker(args):
3840
api_client = create_rooms_api_client(access_token=args["access_token"])
3941

4042
# Step 2. Get room field data using SDK
43+
#ds-snippet-start:Rooms3Step3
4144
rooms_api = RoomsApi(api_client)
4245
response = rooms_api.get_room_field_data(
4346
room_id=args['room_id'],
4447
account_id=args["account_id"]
4548
)
49+
#ds-snippet-end:Rooms3Step3
4650
return response

0 commit comments

Comments
 (0)