Skip to content

Add OpenLDAPSyncreplCookie class #571

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mistotebe
Copy link
Contributor

No description provided.

@mistotebe mistotebe force-pushed the OpenLDAPSyncreplCookie branch 3 times, most recently from beb1513 to 3247211 Compare June 25, 2024 13:20
droideck
droideck previously approved these changes Jul 30, 2024
Copy link
Contributor

@droideck droideck left a comment

Choose a reason for hiding this comment

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

A few minor comments, but the code looks good!

We need to figure out, though, what's wrong with the CI... I can't even restart it.

if cookie:
self.update(cookie)

def _parse_csn(self, csn: str) -> List[str]:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think the return value can be a tuple here and we can specify the number of elements right away: -> Tuple[str, str, str, str]

Also, it'll be nice to validate the tuple's len after the split.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, I'll adjust.

@mistotebe mistotebe force-pushed the OpenLDAPSyncreplCookie branch 2 times, most recently from fe8d327 to 6a15068 Compare August 20, 2024 10:05
@mistotebe mistotebe force-pushed the OpenLDAPSyncreplCookie branch from 6a15068 to 672779f Compare August 20, 2024 10:50
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.

2 participants