aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/python-dateutil/py3/tests
diff options
context:
space:
mode:
authorvityaman <vityaman.dev@yandex.ru>2025-04-29 20:36:31 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-04-29 20:50:11 +0300
commit0c2a81c9d391c539cfb25930a38fe153aa502255 (patch)
treef8cc5f861c8b8433c30faf905c1af36ec09a01b2 /contrib/python/python-dateutil/py3/tests
parent13042213866893f652428dddafaf35d4e5398060 (diff)
downloadydb-0c2a81c9d391c539cfb25930a38fe153aa502255.tar.gz
YQL-19747 Introduce SimpleSchemaGateway
Introduce the `SimpleSchemaGateway` to make it easier to implement `SchemaGateway`s. The idea is that actually existing schema providers really do not support filtration such as by name and type, so in practice they return us the whole list and we need to filter it by hand. The `SimpleSchemaGateway` to `SchemaGateway` adapter does this for us -- we only need to implement a path splitting and folder listing. The other and important feature of the `SimpleSchemaGateway` is that it is simple to implement a caching decorator for it -- just store a mapping `Path -> [FolderEntry]`, while caching a `SchemaGateway` with filters is soooo not trivial. I also added string constants for known folder entry types, because they should be documented somewhere. --- - Related to `YQL-19747` - Related to https://github.com/vityaman/ydb/issues/14 - Related to https://github.com/vityaman/ydb/issues/34 --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1245 commit_hash:dda6dcac544ca95d5e8e08f1e7de9de6b5770f25
Diffstat (limited to 'contrib/python/python-dateutil/py3/tests')
0 files changed, 0 insertions, 0 deletions