• 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

55.56
/box_sdk_gen/schemas/metadata_error.py
1
from typing import Optional
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 MetadataError(BaseObject):
1✔
9
    def __init__(
1✔
10
        self,
11
        *,
12
        code: Optional[str] = None,
13
        message: Optional[str] = None,
14
        request_id: Optional[str] = None,
15
        **kwargs
16
    ):
17
        """
18
                :param code: A Box-specific error code., defaults to None
19
                :type code: Optional[str], optional
20
                :param message: A short message describing the error., defaults to None
21
                :type message: Optional[str], optional
22
                :param request_id: A unique identifier for this response, which can be used
23
        when contacting Box support., defaults to None
24
                :type request_id: Optional[str], optional
25
        """
NEW
26
        super().__init__(**kwargs)
×
NEW
27
        self.code = code
×
NEW
28
        self.message = message
×
NEW
29
        self.request_id = request_id
×
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