compile_nats_wildcard faststream.nats.schemas.js_stream.compile_nats_wildcard # compile_nats_wildcard(pattern) Source code in faststream/nats/schemas/js_stream.py 255 256 257 258 259 260def compile_nats_wildcard(pattern: str) -> Tuple[Optional["Pattern[str]"], str]: return compile_path( pattern, replace_symbol="*", patch_regex=lambda x: x.replace(".>", "..+"), )