Skip to content

feat: add employer details endpoint#29

Merged
akalipetis merged 1 commit into
mainfrom
feature/ex-base-01-employer-details
May 19, 2026
Merged

feat: add employer details endpoint#29
akalipetis merged 1 commit into
mainfrom
feature/ex-base-01-employer-details

Conversation

@akalipetis
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class support for retrieving and parsing employer details from Ergani’s EX_BASE_01 service, plus accompanying unit tests.

Changes:

  • Introduces an EmployerDetails model with parsing helpers for the EX_BASE_01 payload shape.
  • Adds ErganiClient.get_employer_details() which executes EX_BASE_01 and returns parsed employer details.
  • Adds a dedicated test module covering parsing behavior and the client integration.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
ergani/models.py Adds EmployerDetails dataclass, parsing helpers, and parse_employer_details.
ergani/client.py Adds get_employer_details() and a small _request refactor for endpoint normalization.
tests/test_employer_details.py Adds unit tests for EmployerDetails parsing and the client method.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ergani/models.py
Comment thread tests/test_employer_details.py
parisk
parisk previously approved these changes May 19, 2026
Copy link
Copy Markdown
Contributor

@parisk parisk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🐅

Base automatically changed from akalipetis-execute-services to main May 19, 2026 16:56
@akalipetis akalipetis dismissed parisk’s stale review May 19, 2026 16:56

The base branch was changed.

@akalipetis akalipetis merged commit 0fdcc32 into main May 19, 2026
6 checks passed
@akalipetis akalipetis deleted the feature/ex-base-01-employer-details branch May 19, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants