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

Commit

Permalink
Fix typing on Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Jun 8, 2022
1 parent ddb7993 commit d2bd71c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion synapse/util/macaroons.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@

"""Utilities for manipulating macaroons"""

from typing import Callable, Literal, Optional
from typing import Callable, Optional

import attr
import pymacaroons
from pymacaroons.exceptions import MacaroonVerificationFailedException
from typing_extensions import Literal

from synapse.util import Clock, stringutils

Expand Down

0 comments on commit d2bd71c

Please sign in to comment.