Skip to content

Commit 31f8a6a

Browse files
committed
Fix docs
1 parent eac0bcd commit 31f8a6a

File tree

4 files changed

+48
-6
lines changed

4 files changed

+48
-6
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ jobs:
5555

5656
matrix:
5757
python:
58-
- '3.8'
5958
- '3.9'
6059
- '3.10'
6160
- '3.11'
6261
- '3.12'
62+
- '3.13'
6363
steps:
6464
- uses: actions/checkout@v2
6565
- name: Setup python${{ matrix.python }}

aiomisc/process_pool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ def _statistic_callback(
3939
self._statistic.sum_time += loop.time() - start_time
4040

4141
def submit(self, *args: Any, **kwargs: Any) -> Future:
42-
"""Submit blocking function to the pool"""
42+
"""
43+
Submit blocking function to the pool
44+
"""
4345
loop = asyncio.get_running_loop()
4446
start_time = loop.time()
4547
future = super().submit(*args, **kwargs)

docs/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ aiomisc - miscellaneous utils for asyncio
55
:target: https://coveralls.io/github/aiokitchen/aiomisc
66
:alt: Coveralls
77

8-
.. image:: https://github.com/aiokitchen/aiomisc/workflows/tox/badge.svg
9-
:target: https://github.com/aiokitchen/aiomisc/actions?query=workflow%3Atox
8+
.. image:: https://github.com/aiokitchen/aiomisc/actions/workflows/tests.yml/badge.svg
9+
:target: https://github.com/aiokitchen/aiomisc/actions/workflows/tests.yml
1010
:alt: Actions
1111

1212
.. image:: https://img.shields.io/pypi/v/aiomisc.svg

docs/source/locale/ru/LC_MESSAGES/api/aiomisc.po

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: aiomisc 16.1.16\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-06-03 23:11+0200\n"
9+
"POT-Creation-Date: 2025-03-03 13:05+0100\n"
1010
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1111
"Last-Translator: Ivan Sitkin <[email protected]>\n"
1212
"Language-Team: LANGUAGE <[email protected]>\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=utf-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
16-
"Generated-By: Babel 2.15.0\n"
16+
"Generated-By: Babel 2.17.0\n"
1717

1818
#: ../../source/api/aiomisc.rst:2
1919
msgid "``aiomisc`` module"
@@ -321,6 +321,7 @@ msgid ""
321321
msgstr ""
322322

323323
#: of typing.ParamSpec:15
324+
#, python-brace-format
324325
msgid ""
325326
"T = TypeVar('T')\n"
326327
"P = ParamSpec('P')\n"
@@ -585,6 +586,45 @@ msgstr ""
585586
msgid "``aiomisc.log`` module"
586587
msgstr "Модуль ``aiomisc.log``"
587588

589+
#: aiomisc.log.ThreadedHandler:1 of
590+
msgid "Bases: :py:class:`~logging.Handler`"
591+
msgstr ""
592+
593+
#: aiomisc.log.ThreadedHandler:1 of
594+
msgid ""
595+
"Initializes the instance - basically setting the formatter to None and "
596+
"the filter list to empty."
597+
msgstr ""
598+
599+
#: aiomisc.log.ThreadedHandler.close:1 of
600+
msgid "Tidy up any resources used by the handler."
601+
msgstr ""
602+
603+
#: aiomisc.log.ThreadedHandler.close:3 of
604+
msgid ""
605+
"This version removes the handler from an internal map of handlers, "
606+
"_handlers, which is used for handler lookup by name. Subclasses should "
607+
"ensure that this gets called from overridden close() methods."
608+
msgstr ""
609+
610+
#: aiomisc.log.ThreadedHandler.emit:1 of
611+
msgid "Do whatever it takes to actually log the specified logging record."
612+
msgstr ""
613+
614+
#: aiomisc.log.ThreadedHandler.emit:3 of
615+
msgid ""
616+
"This version is intended to be implemented by subclasses and so raises a "
617+
"NotImplementedError."
618+
msgstr ""
619+
620+
#: aiomisc.log.ThreadedHandler.flush:1 of
621+
msgid "Ensure all logging output has been flushed."
622+
msgstr ""
623+
624+
#: aiomisc.log.ThreadedHandler.flush:3 of
625+
msgid "This version does nothing and is intended to be implemented by subclasses."
626+
msgstr ""
627+
588628
#: ../../source/api/aiomisc.rst:93
589629
msgid "``aiomisc.periodic`` module"
590630
msgstr "Модуль ``aiomisc.periodic``"

0 commit comments

Comments
 (0)