Skip to content

Commit

Permalink
feat: Added manager_huid field into UserFromCSV
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonid Gorbunov committed Jun 13, 2024
1 parent d3f1a46 commit 9199208
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pybotx/models/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class UserFromCSV:
company: User company.
department: User department.
position: User position.
manager_huid: User's manager huid.
"""

huid: UUID
Expand All @@ -62,3 +63,4 @@ class UserFromCSV:
company: Optional[str] = None
department: Optional[str] = None
position: Optional[str] = None
manager_huid: Optional[str] = None
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pybotx"
version = "0.67.1"
version = "0.68.0"
description = "A python library for interacting with eXpress BotX API"
authors = [
"Sidnev Nikolay <[email protected]>",
Expand Down
2 changes: 2 additions & 0 deletions tests/client/users_api/test_users_as_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ async def test__users_as_csv__succeed(
company=None,
department=None,
position=None,
manager_huid=None,
),
UserFromCSV(
huid=UUID("13a6909c-bce1-4dbf-8359-efb7ef8e5b34"),
Expand All @@ -116,5 +117,6 @@ async def test__users_as_csv__succeed(
company=None,
department=None,
position=None,
manager_huid=None,
),
]

0 comments on commit 9199208

Please sign in to comment.