File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
"""This module contains Report Portal Client class.
2
2
3
- Copyright (c) 2018 http ://reportportal.io .
3
+ Copyright (c) 2022 https ://reportportal.io .
4
4
5
5
Licensed under the Apache License, Version 2.0 (the "License");
6
6
you may not use this file except in compliance with the License.
7
7
You may obtain a copy of the License at
8
8
9
- http ://www.apache.org/licenses/LICENSE-2.0
9
+ https ://www.apache.org/licenses/LICENSE-2.0
10
10
11
11
Unless required by applicable law or agreed to in writing, software
12
12
distributed under the License is distributed on an "AS IS" BASIS,
@@ -47,7 +47,15 @@ def _set_current(client):
47
47
48
48
49
49
class RPClient (object ):
50
- """Report portal client."""
50
+ """Report portal client.
51
+
52
+ The class is supposed to use by Report Portal agents: both custom and
53
+ official to make calls to Report Portal. It handles HTTP request and
54
+ response bodies generation and serialization, connection retries and log
55
+ batching.
56
+ NOTICE: the class is not thread-safe, use new class instance for every new
57
+ thread to avoid request/response messing and other issues.
58
+ """
51
59
52
60
def __init__ (self ,
53
61
endpoint ,
You can’t perform that action at this time.
0 commit comments