File tree Expand file tree Collapse file tree 4 files changed +43
-3
lines changed Expand file tree Collapse file tree 4 files changed +43
-3
lines changed Original file line number Diff line number Diff line change 21
21
22
22
__all__ = [
23
23
'current' ,
24
- " RPLogger" ,
25
- " RPLogHandler" ,
24
+ ' RPLogger' ,
25
+ ' RPLogHandler' ,
26
26
'ReportPortalService' ,
27
27
'step' ,
28
28
]
Original file line number Diff line number Diff line change 15
15
limitations under the License.
16
16
"""
17
17
import logging
18
-
19
18
import requests
20
19
from requests .adapters import HTTPAdapter , Retry
21
20
Original file line number Diff line number Diff line change 12
12
# limitations under the License
13
13
14
14
"""This package contains core reportportal-client modules."""
15
+
16
+ from reportportal_client .logs import log_manager
17
+
18
+ __all__ = [
19
+ 'log_manager'
20
+ ]
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2022 EPAM Systems
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
+ """
15
+ .. deprecated:: 5.2.4
16
+ Use `logs.log_manager` instead.
17
+ """
18
+
19
+ import warnings
20
+
21
+ from reportportal_client .logs .log_manager import LogManager , \
22
+ MAX_LOG_BATCH_PAYLOAD_SIZE
23
+
24
+ warnings .warn (
25
+ message = "`core.log_manager` is deprecated since 5.2.4 and will be subject "
26
+ "for removing in the next major version. Use logs.log_manager` "
27
+ "instead" ,
28
+ category = DeprecationWarning ,
29
+ stacklevel = 2
30
+ )
31
+
32
+ __all__ = [
33
+ 'LogManager' ,
34
+ 'MAX_LOG_BATCH_PAYLOAD_SIZE'
35
+ ]
You can’t perform that action at this time.
0 commit comments