brynq-sdk-bob 2.9.1__py3-none-any.whl → 2.9.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- brynq_sdk_bob/schemas/work.py +12 -8
- {brynq_sdk_bob-2.9.1.dist-info → brynq_sdk_bob-2.9.2.dist-info}/METADATA +1 -1
- {brynq_sdk_bob-2.9.1.dist-info → brynq_sdk_bob-2.9.2.dist-info}/RECORD +5 -5
- {brynq_sdk_bob-2.9.1.dist-info → brynq_sdk_bob-2.9.2.dist-info}/WHEEL +0 -0
- {brynq_sdk_bob-2.9.1.dist-info → brynq_sdk_bob-2.9.2.dist-info}/top_level.txt +0 -0
brynq_sdk_bob/schemas/work.py
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
from datetime import datetime
|
|
2
|
+
from typing import Optional
|
|
3
|
+
|
|
4
|
+
import pandas as pd
|
|
1
5
|
import pandera as pa
|
|
2
6
|
from pandera.typing import Series
|
|
3
|
-
|
|
4
|
-
from datetime import datetime
|
|
7
|
+
|
|
5
8
|
from brynq_sdk_functions import BrynQPanderaDataFrameModel
|
|
6
9
|
|
|
10
|
+
|
|
7
11
|
class WorkSchema(BrynQPanderaDataFrameModel):
|
|
8
12
|
can_be_deleted: Series[pa.Bool] = pa.Field(coerce=True, description="Can Be Deleted", alias="canBeDeleted")
|
|
9
13
|
work_change_type: Series[str] = pa.Field(coerce=True, description="Work Change Type", alias="workChangeType")
|
|
@@ -21,12 +25,12 @@ class WorkSchema(BrynQPanderaDataFrameModel):
|
|
|
21
25
|
change_reason: Series[str] = pa.Field(coerce=True, nullable=True, description="Change Reason", alias="change.reason")
|
|
22
26
|
change_changed_by: Series[str] = pa.Field(coerce=True, nullable=True, description="Change Changed By", alias="change.changedBy")
|
|
23
27
|
change_changed_by_id: Series[str] = pa.Field(coerce=True, nullable=True, description="Change Changed By ID", alias="change.changedById")
|
|
24
|
-
reports_to_id: Series[str] = pa.Field(coerce=True, nullable=True, description="Reports To ID", alias="reportsTo.id")
|
|
25
|
-
reports_to_first_name: Series[str] = pa.Field(coerce=True, nullable=True, description="Reports To First Name", alias="reportsTo.firstName")
|
|
26
|
-
reports_to_surname: Series[str] = pa.Field(coerce=True, nullable=True, description="Reports To Surname", alias="reportsTo.surname")
|
|
27
|
-
reports_to_email: Series[str] = pa.Field(coerce=True, nullable=True, description="Reports To Email", alias="reportsTo.email")
|
|
28
|
-
reports_to_display_name: Series[str] = pa.Field(coerce=True, nullable=True, description="Reports To Display Name", alias="reportsTo.displayName")
|
|
29
|
-
reports_to: Series[pd.Int64Dtype] = pa.Field(coerce=True, nullable=True, description="Reports To", alias="reportsTo")
|
|
28
|
+
reports_to_id: Optional[Series[str]] = pa.Field(coerce=True, nullable=True, description="Reports To ID", alias="reportsTo.id")
|
|
29
|
+
reports_to_first_name: Optional[Series[str]] = pa.Field(coerce=True, nullable=True, description="Reports To First Name", alias="reportsTo.firstName")
|
|
30
|
+
reports_to_surname: Optional[Series[str]] = pa.Field(coerce=True, nullable=True, description="Reports To Surname", alias="reportsTo.surname")
|
|
31
|
+
reports_to_email: Optional[Series[str]] = pa.Field(coerce=True, nullable=True, description="Reports To Email", alias="reportsTo.email")
|
|
32
|
+
reports_to_display_name: Optional[Series[str]] = pa.Field(coerce=True, nullable=True, description="Reports To Display Name", alias="reportsTo.displayName")
|
|
33
|
+
reports_to: Optional[Series[pd.Int64Dtype]] = pa.Field(coerce=True, nullable=True, description="Reports To", alias="reportsTo")
|
|
30
34
|
employee_id: Series[str] = pa.Field(coerce=True, description="Employee ID", alias="employeeId")
|
|
31
35
|
|
|
32
36
|
class Config:
|
|
@@ -22,8 +22,8 @@ brynq_sdk_bob/schemas/payroll_history.py,sha256=JdAq0XaArHHEw8EsXo3GD0EhSAyBhPtY
|
|
|
22
22
|
brynq_sdk_bob/schemas/people.py,sha256=42BJVgJmT-h5kzuQl6iI7wZDSGNA0KTQQVIAqeeyHNk,40149
|
|
23
23
|
brynq_sdk_bob/schemas/salary.py,sha256=TSaM1g92y3oiDcUrfJW7ushgKZenI9xB6XW3kKuU0dE,4540
|
|
24
24
|
brynq_sdk_bob/schemas/timeoff.py,sha256=gTYu_bNcfHrkTz4eIHCZ4WzgMTj2U4nI3X6JTzDovhk,12817
|
|
25
|
-
brynq_sdk_bob/schemas/work.py,sha256=
|
|
26
|
-
brynq_sdk_bob-2.9.
|
|
27
|
-
brynq_sdk_bob-2.9.
|
|
28
|
-
brynq_sdk_bob-2.9.
|
|
29
|
-
brynq_sdk_bob-2.9.
|
|
25
|
+
brynq_sdk_bob/schemas/work.py,sha256=SvP7FrF1AygHhe12QT6dDxFzmLYs6HScAov5K6FsNvI,3139
|
|
26
|
+
brynq_sdk_bob-2.9.2.dist-info/METADATA,sha256=wQb5wimqofqAKbiiPfgGDVOgTMp2T5hI38D9H5q-cCk,371
|
|
27
|
+
brynq_sdk_bob-2.9.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
28
|
+
brynq_sdk_bob-2.9.2.dist-info/top_level.txt,sha256=oGiWqOuAAiVoLIzGe6F-Lo4IJBYz5ftOwBft7HtPuoY,14
|
|
29
|
+
brynq_sdk_bob-2.9.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|