• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 21552830208

31 Jan 2026 11:40PM UTC coverage: 80.277% (-0.05%) from 80.324%
21552830208

Pull #23062

github

web-flow
Merge 808a9786c into 2c4dcf9cf
Pull Request #23062: Remove support for Get

18 of 25 new or added lines in 4 files covered. (72.0%)

17119 existing lines in 541 files now uncovered.

78278 of 97510 relevant lines covered (80.28%)

3.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/python/pants/backend/openapi/codegen/python/extra_fields.py
1
# Copyright 2024 Pants project contributors (see CONTRIBUTORS.md).
2
# Licensed under the Apache License, Version 2.0 (see LICENSE).
UNCOV
3
import itertools
1✔
4

UNCOV
5
from pants.backend.openapi.target_types import OpenApiDocumentGeneratorTarget, OpenApiDocumentTarget
1✔
UNCOV
6
from pants.backend.python.target_types import PrefixedPythonResolveField
1✔
UNCOV
7
from pants.engine.target import BoolField, DictStringToStringField, StringField
1✔
8

9

UNCOV
10
class OpenApiPythonGeneratorNameField(StringField):
1✔
UNCOV
11
    alias = "python_generator_name"
1✔
UNCOV
12
    required = False
1✔
UNCOV
13
    help = "Python generator name"
1✔
14

15

UNCOV
16
class OpenApiPythonAdditionalPropertiesField(DictStringToStringField):
1✔
UNCOV
17
    alias = "python_additional_properties"
1✔
UNCOV
18
    help = "Additional properties for python generator"
1✔
19

20

UNCOV
21
class OpenApiPythonSkipField(BoolField):
1✔
UNCOV
22
    alias = "skip_python"
1✔
UNCOV
23
    default = False
1✔
UNCOV
24
    help = "If true, skips generation of Python sources from this target"
1✔
25

26

UNCOV
27
def rules():
1✔
UNCOV
28
    return [
1✔
29
        target.register_plugin_field(field)
30
        for target, field in itertools.product(
31
            (
32
                OpenApiDocumentTarget,
33
                OpenApiDocumentGeneratorTarget,
34
            ),
35
            (
36
                OpenApiPythonSkipField,
37
                OpenApiPythonGeneratorNameField,
38
                OpenApiPythonAdditionalPropertiesField,
39
                PrefixedPythonResolveField,
40
            ),
41
        )
42
    ]
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc