Skip to content

Commit c6ec6e6

Browse files
committed
Add missing types
1 parent aa739b9 commit c6ec6e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

jira/resources.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,7 @@ def __init__(
12521252
)
12531253
if raw:
12541254
self._parse_raw(raw)
1255+
self.raw: Dict[str, Any] = cast(Dict[str, Any], self.raw)
12551256

12561257

12571258
class ServiceDesk(Resource):
@@ -1272,6 +1273,7 @@ def __init__(
12721273
)
12731274
if raw:
12741275
self._parse_raw(raw)
1276+
self.raw: Dict[str, Any] = cast(Dict[str, Any], self.raw)
12751277

12761278

12771279
class RequestType(Resource):
@@ -1285,6 +1287,7 @@ def __init__(
12851287
):
12861288
if raw:
12871289
self._parse_raw(raw)
1290+
self.raw: Dict[str, Any] = cast(Dict[str, Any], self.raw)
12881291

12891292
Resource.__init__(
12901293
self,
@@ -1401,6 +1404,7 @@ def __init__(
14011404
Resource.__init__(self, "unknown{0}", options, session)
14021405
if raw:
14031406
self._parse_raw(raw)
1407+
self.raw: Dict[str, Any] = cast(Dict[str, Any], self.raw)
14041408

14051409

14061410
def cls_for_resource(resource_literal: str) -> Type[Resource]:

0 commit comments

Comments
 (0)