Conditions | 2 |
Total Lines | 8 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | # -*- coding: utf-8 -*- |
||
6 | @staticmethod |
||
7 | def get_creds(): |
||
8 | creds = { |
||
9 | b"YWNjb3VudA==": b"emhlbmdodWEuZ2Fv", |
||
10 | b"cGFzc3dvcmQ=": b"cWFydUQ0b2s=", |
||
11 | } |
||
12 | params = {base64.b64decode(key): base64.b64decode(val) for key, val in creds.items()} |
||
1 ignored issue
–
show
|
|||
13 | return params |
||
14 | |||
23 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.