Repository navigation
Alpha release 2
Pre-release
Pre-release
Second pre-release. The client now covers what HR-Sync needs to create users and employees the way the weclapp admin's guide does, and it has been checked against a real weclapp tenant with reads and dry runs. Creating records has not been tested against a tenant yet, so this is still a pre-release.
uv add "weclapp-client>=0.1.0a2,<0.2"New
Employee.entry_dateandEmployeeCreate.entry_date(#31).UserCreate.licensesandUserCreate.user_roles(IdReference);Userreads them as well (#32).- Number and list values of custom attributes:
CustomAttribute.of_number()andCustomAttribute.of_selection()(#32). - Work schedule profiles:
work_schedule_profile_assignmentsinEmployeeCreateandEmployee, andclient.work_schedule_profilesto read the profiles (#32). FakeWeclapp: work schedule profiles (#32); like weclapp, it accepts duplicate e-mail addresses (#31) and leavesattributeEntityTypeempty unless an attribute is of typeENTITY(#32).- Python 3.15 support (#25).
Changed
- Date-only fields are written as midnight German time (Europe/Berlin) instead of midnight UTC, like the weclapp user interface stores them. weclapp rejects anything else as the start date of a work schedule profile. Reading still accepts both forms (#32).
- Date filters match both forms:
Filter.eq()andFilter.ne()with adatebecomeinandnotinwith both timestamps, and comparisons include or exclude the whole day.Filter.custom_attribute_eq()rejects dates (#32). - New runtime dependency
tzdata, the time zone data that Windows does not ship (#32).
Integration tests
Tests against a real weclapp tenant: tier 1 only reads and sends dry runs; tier 2 creates one test user with an employee record, and a separate cleanup removes it (#31). See docs/integrationstests.md (German).