-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqc_report_parser.py
84 lines (70 loc) · 2.05 KB
/
qc_report_parser.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
"""
This module provides functionality for locating files that DCC cannot find.
Classes:
: [Brief description of the class]
Functions:
[function_name]: [Brief description of the function]
"""
import requests
import os
from datetime import datetime
import csv
import json
import pandas as pd
import mysql.connector
from mysql.connector import errorcode
class [ClassName]:
"""
[ClassName] is responsible for [brief description of the class's purpose].
Attributes:
attribute1 (type): Description of attribute1.
attribute2 (type): Description of attribute2.
...
Methods:
__init__(self, param1, param2, ...): Initializes the [ClassName] with the given parameters.
method1(self, param1, param2, ...): [Brief description of method1].
method2(self, param1, param2, ...): [Brief description of method2].
...
"""
def __init__(self, param1, param2, ...):
"""
Initializes the [ClassName] with the given parameters.
Args:
param1 (type): Description of param1.
param2 (type): Description of param2.
...
"""
pass
def method1(self, param1, param2, ...):
"""
[Brief description of method1].
Args:
param1 (type): Description of param1.
param2 (type): Description of param2.
...
Returns:
type: Description of the return value.
"""
pass
def method2(self, param1, param2, ...):
"""
[Brief description of method2].
Args:
param1 (type): Description of param1.
param2 (type): Description of param2.
...
Returns:
type: Description of the return value.
"""
pass
def [function_name](param1, param2, ...):
"""
[Brief description of the function].
Args:
param1 (type): Description of param1.
param2 (type): Description of param2.
...
Returns:
type: Description of the return value.
"""
pass