Skip to content

Comments

Add methods to DropConfig dependency#17

Merged
Nottezz merged 7 commits intomainfrom
feature/methods-interface
Sep 5, 2025
Merged

Add methods to DropConfig dependency#17
Nottezz merged 7 commits intomainfrom
feature/methods-interface

Conversation

@Nottezz
Copy link
Collaborator

@Nottezz Nottezz commented Aug 15, 2025

Resolve #15

image

@Nottezz Nottezz requested a review from chud0 August 15, 2025 09:27
@Nottezz Nottezz self-assigned this Aug 15, 2025
@Nottezz Nottezz added the enhancement New feature or request label Aug 25, 2025
@Nottezz Nottezz requested a review from chud0 August 27, 2025 09:59
Copy link
Owner

@chud0 chud0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в целом получилось очень круто! хочешь в этом pr поменяй поведение метода, хочешь просто минорные изменения сделай следом после коммита
ну и нужно будет пересобрать и залить либу


return cache_config, cache_drop_config

def _convert_methods_to_path(
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это самописный метод? или выдрал из фастапи/старлета?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Самописный с использованием встроенных методов из старлета: compile_path, get_name

continue
seen.add(key)

cache_drop_config.paths.append(regex)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

по хорошему кеш конфига здесь не должно быть, здесь только конверт метода, одного или списка, а где то выше, результат этого конверта подкидывается в конфиг

@Nottezz Nottezz merged commit e0a94d6 into main Sep 5, 2025
3 checks passed
@Nottezz Nottezz deleted the feature/methods-interface branch September 5, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add methods to DropConfig dependency

2 participants