Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getsourcefile (0.06 seconds)

  1. fastapi/routing.py

        func_id = id(func)
    
        if func_id in _endpoint_context_cache:
            return _endpoint_context_cache[func_id]
    
        try:
            ctx: EndpointContext = {}
    
            if (source_file := inspect.getsourcefile(func)) is not None:
                ctx["file"] = source_file
            if (line_number := inspect.getsourcelines(func)[1]) is not None:
                ctx["line"] = line_number
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            }
            val environment = KotlinCoreEnvironment.createForProduction(this, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES)
            return environment.getSourceFiles()
        }
    
        private
        fun configureKotlinCompilerIoForWindowsSupport() =
            org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback()
    }
    
    
    private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 16 08:22:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
Back to Top