wikiped
wikiped
Using modified example from the official Usage instructions: @fixture(params=[0, 1], autouse=True) def zero_one(request): return request.param @fixture(params=[1]) def one(request, zero_one): return zero_one * request.param @fixture(params=[0, 1], autouse=False) def zero_two(request): return request.param...
- [x] I have searched the issue tracker and believe that this is not a duplicate. **Make sure you run commands with `-v` flag before pasting the output.** ## Steps...
### Description Suppose that an `int` field needs to be bound to some intervals: ```python from typing import Annotated import msgspec as ms LowerBounds = Annotated[int, ms.Meta(ge=-10, le=-1)] UpperBounds =...
For "old-style" follow-up on updates...
Steps to reproduce: 1. In extension options set: - `Template for title/filename` to: `{pageTitle}` - `Image filename prefix template` to: `assets/{pageTitle}/`. 3. On a web page with images click extension...
There is a similar [issue](#200), which is closed without, as it appears, any fix (with v`0.9.1` being actual). Expected behaviour is outlined in [examples](https://github.com/dimastbk/python-calamine#example) of `python-calamine` for an option `skip_empty_area`:...
### Description With the following code: ```python import msgspec as ms class Base(ms.Struct, frozen=True): ... class Child(Base): ... assert Child.__struct_config__.frozen is True ``` In a file: `frozen.py` And the following...
### Description The following code: ```python import msgspec as ms class Sub(ms.Struct, omit_defaults=True): f1: str = "" f2: int = 0 class Struct(ms.Struct, omit_defaults=True, tag=True): f1: int = 1 sub:...
Code blocks there sometimes have `>>>` button in the top right corner to remove console symbols, which should be clicked before copying code.  Thank you for useful extension!