File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
reportportal_client/_local Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change 13
13
"""Report Portal client context storing and retrieving module."""
14
14
from threading import local
15
15
16
-
17
16
__INSTANCES = local ()
18
17
19
18
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022 https://reportportal.io .
2
+ # Licensed under the Apache License, Version 2.0 (the "License");
3
+ # you may not use this file except in compliance with the License.
4
+ # You may obtain a copy of the License at
5
+ #
6
+ # https://www.apache.org/licenses/LICENSE-2.0
7
+ #
8
+ # Unless required by applicable law or agreed to in writing, software
9
+ # distributed under the License is distributed on an "AS IS" BASIS,
10
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11
+ # See the License for the specific language governing permissions and
12
+ # limitations under the License
13
+
14
+ from typing import Optional
15
+
16
+ from reportportal_client .client import RPClient
17
+
18
+
19
+ def current () -> Optional [RPClient ]: ...
20
+
21
+
22
+ def set_current (client : Optional [RPClient ]) -> None : ...
You can’t perform that action at this time.
0 commit comments