Andrey Atapin

Results 10 issues of Andrey Atapin

Why checking with `instanceof` and then casting if we just can pass instance of type `Node`? ```java @SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors") DomDecor(final Object doc) throws DecorException { if (doc != null && !(doc...

We would like to show the traits separately from all kinds of technical data. E.g. this requests ```curl https://flow-mainnet.g.alchemy.com/demo/v1/getNFTMetadata/?owner=0x9eef2e4511390ce4&contractName=Gaia&contractAddress=0x8b148183c28ff88f&tokenId=1117``` shows: ```json { ..., "metadata": { "metadata": [{ "name": "playmaking", "value":...

Telegram always keeps 1st place among all my apps as a power consumer. During the night it consumes energy exclusively (95-100%).

## Description Added coverage metric and set current coverage as a baseline. This should protect the codebase from merging uncovered changes. ## Motivation and Context Currently, the codebase doesn't have...

This can be done by modifying setup python step: ```yaml - name: Set up Python uses: actions/setup-python@v4 with: python-version: '3.9' cache: poetry cache-dependency-path: poetry.lock ```

## Description Replaced deprecated `cgi` package with the code suggested in #107 ## Motivation and Context `cgi` is marked as deprecated since python 3.11, and will be removed in python...

`cgi` package is deprecated since Python 3.11, and will be removed in Python 3.13. Alternative for `cgi.parse_header`: ```python from email.message import EmailMessage msg = EmailMessage() msg['content-type'] = 'application/json; charset="utf8"' content_type...

## Description Added test coverage for batched_parmap function and improved its readability by simplifying the implementation. Also improved the performance by utilizing list.extend method instead of `+` concatenation. Extension modifies...

Line 47 is supposed to check if trailing chunks of batches are processed, but it lacks for proper coverage. https://github.com/ourzora/offchain/blob/85aa49f7cde35f12f91a72c4408578ec38825ee1/offchain/concurrency.py#L42-L53