Skip to content

Commit

Permalink
Fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
sushain97 committed Sep 4, 2024
1 parent 29e00d8 commit 1cc529d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ analysis and generation. More information is available on the [Apertium Wiki][1]
Requirements
------------

- Python 3.6+
- Python 3.8+
- Tornado 4.5.3 - 6.0.4 (`python3-tornado` on Debian/Ubuntu)

Additional functionality is provided by installation
Expand Down
4 changes: 2 additions & 2 deletions apertium_apy/gateway.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from tornado.options import enable_pretty_logging # type: ignore
from tornado.web import RequestHandler

import apy
from apertium_apy.handlers.base import BaseHandler

if False:
from typing import Any, Dict, List, Set, Tuple # noqa: F401
Expand Down Expand Up @@ -111,7 +111,7 @@ def post(self):
self.get()


class ListRequestHandler(apy.BaseHandler):
class ListRequestHandler(BaseHandler):
"""Handler for list requests. Takes a language-pair-server map and aggregates the language-pairs of all of the servers."""

def initialize(self, server_lang_pair_map):
Expand Down

0 comments on commit 1cc529d

Please sign in to comment.