Skip to content

Commit 0f02ef3

Browse files
authored
docs(platform): remove tabs (#97)
* docs(platform): remove tabs
1 parent 80aa37b commit 0f02ef3

21 files changed

+47
-47
lines changed

examples/account_types/create_account_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
accounts = StaxClient('accounts')
1313

1414
response = accounts.CreateAccountType(
15-
Name=account_type_name
15+
Name=account_type_name
1616
)
1717
print(json.dumps(response, indent=4, sort_keys=True))

examples/account_types/delete_account_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
accounts = StaxClient('accounts')
1313

1414
response = accounts.DeleteAccountType(
15-
account_type_id=account_type_id
15+
account_type_id=account_type_id
1616
)
1717
print(json.dumps(response, indent=4, sort_keys=True))

examples/account_types/update_account_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
accounts = StaxClient('accounts')
1616

1717
response = accounts.UpdateAccountType(
18-
account_type_id = account_type_id,
19-
Name = account_type_name
18+
account_type_id = account_type_id,
19+
Name = account_type_name
2020
)
2121
print(json.dumps(response, indent=4, sort_keys=True))

examples/account_types/update_account_type_access.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
accounts = StaxClient('accounts')
1111

1212
# An array of access_role dicts to enable or empty array
13-
# Properties: RoleName, AccountTypeId, GroupId
13+
# Properties: RoleName, AccountTypeId, GroupId
1414
access_roles_to_add = <An array of access_roles?>
1515

1616
# # An array of access_role dicts to disable or empty arry
1717
access_roles_to_remove = <An array of access_roles?>
1818

1919

2020
response = accounts.UpdateAccountTypeAccess(
21-
AddRoles= access_roles_to_add,
22-
RemoveRoles=access_roles_to_remove
21+
AddRoles= access_roles_to_add,
22+
RemoveRoles=access_roles_to_remove
2323
)
2424
print(json.dumps(response, indent=4, sort_keys=True))

examples/account_types/update_account_type_members.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
account_type_mappings[0]["AccountTypeId"] = account_type_id
2121

2222
response = accounts.UpdateAccountTypeMembers(
23-
Members=account_type_mappings
23+
Members=account_type_mappings
2424
)
2525
print(json.dumps(response, indent=4, sort_keys=True))

examples/accounts/create_accounts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
accounts = StaxClient('accounts')
1515

1616
response = accounts.CreateAccount(
17-
Name=account_name,
18-
AccountType=account_type,
17+
Name=account_name,
18+
AccountType=account_type,
1919
OrganisationalUnitId=organisational_unit_id,
2020
)
2121
print(json.dumps(response, indent=4, sort_keys=True))

examples/accounts/update_account.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
update_properties = {}
2222
if tags_dict:
23-
update_properties.update(tags)
23+
update_properties.update(tags)
2424
if account_type_id:
25-
update_properties["AccountType"] = account_type_id
25+
update_properties["AccountType"] = account_type_id
2626

2727
response = accounts.UpdateAccount(
28-
account_id=account_id,
29-
**update_properties
28+
account_id=account_id,
29+
**update_properties
3030
)
3131
print(json.dumps(response, indent=4, sort_keys=True))

examples/auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
accounts_au1 = StaxClient('accounts')
1717

1818
au1_response = accounts_au1.CreateAccountType(
19-
Name="sdk-au1"
19+
Name="sdk-au1"
2020
)
2121

2222
print(json.dumps(au1_response, indent=4, sort_keys=True))
@@ -28,6 +28,6 @@
2828
us1_accounts = StaxClient('accounts', config=config)
2929

3030
us1_response = us1_accounts.CreateAccountType(
31-
Name="sdk-us1"
31+
Name="sdk-us1"
3232
)
33-
print(json.dumps(us1_response, indent=4, sort_keys=True))
33+
print(json.dumps(us1_response, indent=4, sort_keys=True))

examples/groups/create_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
# Create a Stax groups
1414
teams = StaxClient("teams")
1515
response = teams.CreateGroup(
16-
Name=group_name
16+
Name=group_name
1717
)
1818
print(json.dumps(response, indent=4, sort_keys=True))

examples/groups/delete_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
# Create a Stax groups
1414
teams = StaxClient("teams")
1515
response = teams.DeleteGroup(
16-
group_id=group_id
16+
group_id=group_id
1717
)
1818
print(json.dumps(response, indent=4, sort_keys=True))

0 commit comments

Comments
 (0)