Skip to main content

parse_python_source

Function parse_python_source 

Source
pub fn parse_python_source(source: &str) -> Vec<SourceObservation>
Expand description

Parses the mandatory focused Python framework matrix.

Supported syntax comprises FastAPI and Flask decorators, requests, HTTPX and aiohttp convenience/client calls, static HTTP registries, Factory Boy model declarations, pytest functions, unittest TestCase methods, and canonical class-level test_ methods whose indirect runner inheritance cannot be proven in one file. Comments and string contents are lexically excluded from recognition. The returned vector is sorted and deduplicated.