Skip to content
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

[PBE-0] - Fix optional properties #177

Merged
merged 2 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @gumuz @ferhatelmas
* @10printhello @totalimmersion
6 changes: 5 additions & 1 deletion stream_chat/base/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ def normalize_sort(self, sort: Union[Dict, List[Dict]] = None) -> List[Dict]:
return sort_fields

def create_token(
self, user_id: str, exp: int = None, iat: int = None, **claims: Any
self,
user_id: str,
exp: Optional[int] = None,
iat: Optional[int] = None,
**claims: Any,
) -> str:
"""
Creates a JWT for a user.
Expand Down
Loading