Skip to content

Commit

Permalink
Removed unused import and doc rectification (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiran-chaudhary committed May 26, 2020
1 parent 041262a commit 9ca9d9a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ current_user = sdk.users.get_current()

# page through all devices available to this user.
for device_page in sdk.devices.get_all():
for device in device_page["computers"]
for device in device_page["computers"]:
print(device)

# page through all orgs available to this user.
Expand Down
1 change: 0 additions & 1 deletion src/py42/_internal/clients/detection_list_user.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import json

from py42._internal.compat import str
from py42.clients import BaseClient
from py42.exceptions import Py42BadRequestError, Py42NotFoundError

Expand Down
2 changes: 0 additions & 2 deletions src/py42/clients/detectionlists/departing_employee.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ def set_alerts_enabled(self, alerts_enabled=True):
`REST Documentation <https://ecm-east.us.code42.com/svc/swagger/index.html?urls.primaryName=v2#/>`__
Args:
tenant_id (str, optional): The unique identifier of the customer tenant. Defaults to
None (the tenant_id of SDK authorization user will be used).
alerts_enabled (bool): Set alerting to on (True) or off (False). Defaults to True.
Returns:
Expand Down

0 comments on commit 9ca9d9a

Please sign in to comment.