-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Base class for importing employees between fyle and bamboohr #110
Conversation
|
fyle-employee_imports/base.py
Outdated
bamboohr = BambooHr.objects.get(org_id__in= org_id) | ||
self.bamboohr_sdk = BambooHrSDK(api_token=bamboohr.api_token, sub_domain=bamboohr.sub_domain) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's involve sdk only in the child class, base class shouldn't do anything app specific
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ohh yes
fyle-employee_imports/base.py
Outdated
pass | ||
|
||
def sync_hrms_employees(self): | ||
raise NotImplementedError('') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a valid message, 'Implement sync_hrms_employees() in the child class'
|
|
|
|
* Implementaion of sync method for fyle and bamboohr * sync employees method added to platform connector * implementation of sync fyle and bamboo hr * removing api_token * indent correction * comment resolved * minor bug fix * better code * Import sync department (#115) * Syncing Department from Bamboohr to Fyle * resolved commented code * better optimized code * comment resolved * Employee and Approver Import (#116) * Employee and Approver Import * bug fix and comment resolved
|
No description provided.