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

box / box-python-sdk-gen / 16346665995

17 Jul 2025 01:37PM UTC coverage: 92.229% (-0.4%) from 92.63%
16346665995

Pull #646

github

web-flow
Merge 7dece9744 into 64069db8d
Pull Request #646: fix: Error at 'Create metadata instance on file' box/box-openapi#393 (box/box-openapi#539)

154 of 228 new or added lines in 22 files covered. (67.54%)

25 existing lines in 2 files now uncovered.

12937 of 14027 relevant lines covered (92.23%)

0.92 hits per line

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

72.73
/box_sdk_gen/schemas/v2025_r0/folder_reference_v2025_r0.py
1
from enum import Enum
1✔
2

3
from box_sdk_gen.internal.base_object import BaseObject
1✔
4

5
from box_sdk_gen.box.errors import BoxSDKError
1✔
6

7

8
class FolderReferenceV2025R0TypeField(str, Enum):
1✔
9
    FOLDER = 'folder'
1✔
10

11

12
class FolderReferenceV2025R0(BaseObject):
1✔
13
    _discriminator = 'type', {'folder'}
1✔
14

15
    def __init__(
1✔
16
        self,
17
        id: str,
18
        *,
19
        type: FolderReferenceV2025R0TypeField = FolderReferenceV2025R0TypeField.FOLDER,
20
        **kwargs
21
    ):
22
        """
23
        :param id: ID of the folder.
24
        :type id: str
25
        :param type: The value will always be `folder`., defaults to FolderReferenceV2025R0TypeField.FOLDER
26
        :type type: FolderReferenceV2025R0TypeField, optional
27
        """
NEW
28
        super().__init__(**kwargs)
×
NEW
29
        self.id = id
×
NEW
30
        self.type = type
×
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

© 2025 Coveralls, Inc