• 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

71.43
/box_sdk_gen/schemas/v2025_r0/hub_item_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 HubItemV2025R0TypeField(str, Enum):
1✔
9
    FILE = 'file'
1✔
10
    FOLDER = 'folder'
1✔
11
    WEB_LINK = 'web_link'
1✔
12

13

14
class HubItemV2025R0(BaseObject):
1✔
15
    _discriminator = 'type', {'file', 'folder', 'web_link'}
1✔
16

17
    def __init__(self, id: str, type: HubItemV2025R0TypeField, name: str, **kwargs):
1✔
18
        """
19
        :param id: The unique identifier for this item.
20
        :type id: str
21
        :param type: The type of the item.
22
        :type type: HubItemV2025R0TypeField
23
        :param name: The name of the item.
24
        :type name: str
25
        """
NEW
26
        super().__init__(**kwargs)
×
NEW
27
        self.id = id
×
NEW
28
        self.type = type
×
NEW
29
        self.name = name
×
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