Skip to content

Commit

Permalink
Merge branch 'issue2773' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolargo committed May 16, 2024
2 parents d94b0b4 + f654558 commit 6acd0da
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions glances/outputs/glances_restful_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
import webbrowser
from urllib.parse import urljoin

# Replace typing_extensions by typing when Python 3.8 support will be dropped
from typing import Annotated
try:
from typing import Annotated
except ImportError:
# Only for Python 3.8
# To be removed when Python 3.8 support will be dropped
from typing_extensions import Annotated

from glances import __version__, __apiversion__
from glances.password import GlancesPassword
Expand Down

0 comments on commit 6acd0da

Please sign in to comment.