def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *target_type_rules(), *python_target_types_rules(), QueryRule(ResolvedPythonAwsHandler, [ResolvePythonAwsHandlerRequest]), QueryRule(InjectedDependencies, [InjectPythonLambdaHandlerDependency]), ], target_types=[PythonAWSLambda, PythonRequirementLibrary, PythonLibrary], )
def rule_runner() -> RuleRunner: return RuleRunner( rules=[ *target_type_rules(), *python_target_types_rules(), QueryRule(ResolvedPythonAwsHandler, [ResolvePythonAwsHandlerRequest]), QueryRule(InjectedDependencies, [InjectPythonLambdaHandlerDependency]), ], target_types=[ FileTarget, PythonAWSLambda, PythonRequirementTarget, PythonSourcesGeneratorTarget, ], )