Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Resolving conflicts with master
Browse files Browse the repository at this point in the history
  • Loading branch information
why-not-try-calmer committed Feb 18, 2023
2 parents ccdead4 + 2ac0d13 commit 93a9178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytransifex/api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from os import mkdir
from pathlib import Path
from typing import Any
from typing import Any, Optional

import requests
from transifex.api import transifex_api as tx_api
Expand Down Expand Up @@ -363,7 +363,7 @@ class Transifex:

client = None

def __new__(cls, *, defer_login: bool = False, **kwargs) -> None | "Client":
def __new__(cls, *, defer_login: bool = False, **kwargs) -> Optional["Client"]:
if not cls.client:
try:
if kwargs:
Expand Down

0 comments on commit 93a9178

Please sign in to comment.