project_name
string
class_name
string
class_modifiers
string
class_implements
int64
class_extends
int64
function_name
string
function_body
string
cyclomatic_complexity
int64
NLOC
int64
num_parameter
int64
num_token
int64
num_variable
int64
start_line
int64
end_line
int64
function_index
int64
function_params
string
function_variable
string
function_return_type
string
function_body_line_type
string
function_num_functions
int64
function_num_lines
int64
outgoing_function_count
int64
outgoing_function_names
string
incoming_function_count
int64
incoming_function_names
string
lexical_representation
string
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
update_suffix
def update_suffix(self):"""Updates the suffix of time input fields to be singular or plural based on their values.For example: "1 day" vs "2 days""""for box in [self.days_box, self.hours_box, self.minutes_box]:suffix = box.suffix().rstrip("s")box.setSuffix(suffix if box.value() == 1 else suffix + "s")
3
4
1
53
0
145
152
145
self
[]
None
{"Assign": 1, "Expr": 2, "For": 1}
4
8
4
["rstrip", "box.suffix", "box.setSuffix", "box.value"]
0
[]
The function (update_suffix) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 145 and ends at 152. It contains 4 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["rstrip", "box.suffix", "box.setSuffix", "box.value"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
set_status_icon
def set_status_icon(self, status: str):"""Sets the status icon (warning or error) next to the checkbox.Args:status: The icon to display (WARNING_ICON, ERROR_ICON, or empty string)"""self.status_icon.setText(status)
1
2
2
18
0
154
161
154
self,status
[]
None
{"Expr": 2}
1
8
1
["self.status_icon.setText"]
0
[]
The function (set_status_icon) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 154 and ends at 161. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [154.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["self.status_icon.setText"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
set_error_style
def set_error_style(self, is_error: bool):"""Sets the error styling for the time input fields.Args:is_error: If True, applies error styling; if False, removes it"""style = f"QSpinBox {{ background-color: {ERROR_BG_COLOR}; }}" if is_error else ""for box in [self.days_box, self.hours_box, self.minutes_box]:box.setStyleSheet(style)
3
4
2
41
0
163
172
163
self,is_error
[]
None
{"Assign": 1, "Expr": 2, "For": 1}
1
10
1
["box.setStyleSheet"]
0
[]
The function (set_error_style) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 163 and ends at 172. It contains 4 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [163.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["box.setStyleSheet"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
update_state
def update_state(self):"""Updates the complete state of the row including enabled state, validation indicators,and suffixes based on current values and checkbox state."""is_checked = self.checkbox.isChecked()if not is_checked:self.set_status_icon(WARNING_ICON)self.set_error_style(False)elif self.get_timeout_seconds() == 0:self.set_status_icon(ERROR_ICON)self.set_error_style(True)else:self.set_status_icon("")self.set_error_style(False)self.set_enabled(is_checked)self.update_suffix()
3
13
1
77
0
174
190
174
self
[]
None
{"Assign": 1, "Expr": 9, "If": 2}
10
17
10
["self.checkbox.isChecked", "self.set_status_icon", "self.set_error_style", "self.get_timeout_seconds", "self.set_status_icon", "self.set_error_style", "self.set_status_icon", "self.set_error_style", "self.set_enabled", "self.update_suffix"]
0
[]
The function (update_state) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 174 and ends at 190. It contains 13 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["self.checkbox.isChecked", "self.set_status_icon", "self.set_error_style", "self.get_timeout_seconds", "self.set_status_icon", "self.set_error_style", "self.set_status_icon", "self.set_error_style", "self.set_enabled", "self.update_suffix"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
__init__
def __init__(self, *, timeouts: TimeoutTableEntries, parent=None):super().__init__("Timeouts", parent=parent)self.timeout_rows: Dict[str, TimeoutEntryWidget] = {}self._build_ui(timeouts)self.refresh_ui(timeouts)
1
5
3
52
0
215
219
215
self,label,tooltip
[]
None
{"Assign": 5, "Expr": 12}
18
24
18
["__init__", "super", "QCheckBox", "self.checkbox.setChecked", "self.checkbox.setToolTip", "QLabel", "self.status_icon.setFixedSize", "QSpinBox", "self.days_box.setSuffix", "self.days_box.setFixedWidth", "QSpinBox", "self.hours_box.setSuffix", "self.hours_box.setFixedWidth", "QSpinBox", "self.minutes_box.setSuffix", "self.minutes_box.setFixedWidth", "self._build_ui", "self._connect_signals"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 215 and ends at 219. It contains 5 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [215.0] and does not return any value. It declares 18.0 functions, It has 18.0 functions called inside which are ["__init__", "super", "QCheckBox", "self.checkbox.setChecked", "self.checkbox.setToolTip", "QLabel", "self.status_icon.setFixedSize", "QSpinBox", "self.days_box.setSuffix", "self.days_box.setFixedWidth", "QSpinBox", "self.hours_box.setSuffix", "self.hours_box.setFixedWidth", "QSpinBox", "self.minutes_box.setSuffix", "self.minutes_box.setFixedWidth", "self._build_ui", "self._connect_signals"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
TimeoutEntryWidget
public
0
1
_build_ui
def _build_ui(self, timeouts: TimeoutTableEntries):"""Constructs the complete UI layout with all timeout rows and message labels.Args:entries: List of TimeoutEntry objects defining the timeout settings"""self.layout = QFormLayout(self)self.layout.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)self.timeouts_box = QWidget()timeouts_layout = QGridLayout(self.timeouts_box)for index, (label, entry) in enumerate(timeouts.entries.items()):timeout_row = TimeoutEntryWidget(label, entry.tooltip)timeouts_layout.addWidget(timeout_row, index, 0, 1, 4)self.timeout_rows[label] = timeout_rowtimeout_row.changed.connect(self._update_ui_state)self.error_label = self._create_message_label(ERROR_BG_COLOR)self.warning_label = self._create_message_label(WARNING_BG_COLOR)timeouts_layout.addWidget(self.error_label, len(timeouts.entries), 0, 1, 4)timeouts_layout.addWidget(self.warning_label, len(timeouts.entries) + 1, 0, 1, 4)self.layout.addRow(self.timeouts_box)
2
15
2
179
0
221
246
221
self
[]
None
{"Assign": 1, "Expr": 7}
7
12
7
["QGridLayout", "layout.setContentsMargins", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget"]
0
[]
The function (_build_ui) defined within the public class called TimeoutEntryWidget, that inherit another class.The function start at line 221 and ends at 246. It contains 15 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [221.0] and does not return any value. It declares 7.0 functions, and It has 7.0 functions called inside which are ["QGridLayout", "layout.setContentsMargins", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget", "layout.addWidget"].
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_create_message_label
def _create_message_label(self, bg_color: str) -> QLabel:"""Creates a styled label for displaying error or warning messages.Args:bg_color: Background color for the message labelReturns:QLabel: A configured label with appropriate styling"""label = QLabel()label.setStyleSheet(f"""QLabel {{ background-color: {bg_color};color: black;padding: 5px;border-radius: 3px;}}""")label.setWordWrap(True)return label
1
4
2
32
0
248
268
248
self,bg_color
[]
QLabel
{"Assign": 1, "Expr": 3, "Return": 1}
3
21
3
["QLabel", "label.setStyleSheet", "label.setWordWrap"]
0
[]
The function (_create_message_label) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 248 and ends at 268. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [248.0] and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["QLabel", "label.setStyleSheet", "label.setWordWrap"].
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_update_ui_state
def _update_ui_state(self):"""Updates the UI state for error and warning messages."""self._update_error_states()self._update_warning_states()
1
3
1
16
0
270
275
270
self
[]
None
{"Expr": 3}
2
6
2
["self._update_error_states", "self._update_warning_states"]
0
[]
The function (_update_ui_state) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 270 and ends at 275. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self._update_error_states", "self._update_warning_states"].
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_update_error_states
def _update_error_states(self):"""Updates the error message label based on validation of all timeout rows."""any_zero = any(row.get_timeout_seconds() == 0 and row.checkbox.isChecked()for row in self.timeout_rows.values())self.error_label.setText("Error: Timeout cannot be set to zero." if any_zero else "")self.error_label.setVisible(any_zero)
4
7
1
56
0
277
286
277
self
[]
None
{"Assign": 1, "Expr": 3}
6
10
6
["any", "row.get_timeout_seconds", "row.checkbox.isChecked", "self.timeout_rows.values", "self.error_label.setText", "self.error_label.setVisible"]
0
[]
The function (_update_error_states) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 277 and ends at 286. It contains 7 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value. It declares 6.0 functions, and It has 6.0 functions called inside which are ["any", "row.get_timeout_seconds", "row.checkbox.isChecked", "self.timeout_rows.values", "self.error_label.setText", "self.error_label.setVisible"].
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
_update_warning_states
def _update_warning_states(self):"""Updates the warning message label based on the state of all timeout rows."""any_deactivated = any(not row.checkbox.isChecked() for row in self.timeout_rows.values())warning_text = ("Warning: Without a specified timeout, tasks may run indefinitely if issues occur."if any_deactivatedelse "")self.warning_label.setText(warning_text)self.warning_label.setVisible(any_deactivated)
3
9
1
54
0
288
299
288
self
[]
None
{"Assign": 2, "Expr": 3}
5
12
5
["any", "row.checkbox.isChecked", "self.timeout_rows.values", "self.warning_label.setText", "self.warning_label.setVisible"]
0
[]
The function (_update_warning_states) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 288 and ends at 299. It contains 9 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["any", "row.checkbox.isChecked", "self.timeout_rows.values", "self.warning_label.setText", "self.warning_label.setVisible"].
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
refresh_ui
def refresh_ui(self, timeouts: TimeoutTableEntries):"""Refreshes all UI elements to reflect the current timeout settings.Args:entries: List of TimeoutEntry objects containing the current settings"""for label, entry in timeouts.entries.items():if label in self.timeout_rows:row = self.timeout_rows[label]row.checkbox.setChecked(entry.is_activated)row.set_timeout(entry.seconds)self._update_ui_state()
3
7
2
61
0
301
313
301
self,timeouts
[]
None
{"Assign": 1, "Expr": 4, "For": 1, "If": 1}
4
13
4
["timeouts.entries.items", "row.checkbox.setChecked", "row.set_timeout", "self._update_ui_state"]
0
[]
The function (refresh_ui) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 301 and ends at 313. It contains 7 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [301.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["timeouts.entries.items", "row.checkbox.setChecked", "row.set_timeout", "self._update_ui_state"].
aws-deadline_deadline-cloud
TimeoutTableWidget
public
0
1
update_settings
def update_settings(self, timeouts: TimeoutTableEntries):"""Updates the timeouts with the current values from the UI."""for label, row in self.timeout_rows.items():if label in timeouts.entries:entry = timeouts.entries[label]entry.is_activated = row.checkbox.isChecked()entry.seconds = row.get_timeout_seconds()
3
6
2
58
0
315
323
315
self,timeouts
[]
None
{"Assign": 3, "Expr": 1, "For": 1, "If": 1}
3
9
3
["self.timeout_rows.items", "row.checkbox.isChecked", "row.get_timeout_seconds"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3656399_avelino_liquidluck.liquidluck.generator_py.load_settings"]
The function (update_settings) defined within the public class called TimeoutTableWidget, that inherit another class.The function start at line 315 and ends at 323. It contains 6 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [315.0] and does not return any value. It declares 3.0 functions, It has 3.0 functions called inside which are ["self.timeout_rows.items", "row.checkbox.isChecked", "row.get_timeout_seconds"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3656399_avelino_liquidluck.liquidluck.generator_py.load_settings"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self,*,parameter_definitions: List[JobParameter] = [],async_loading_state: str = "",parent=None,):super().__init__(parent=parent)self.rebuild_ui(parameter_definitions=parameter_definitions, async_loading_state=async_loading_state)
1
11
4
50
0
60
71
60
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 60 and ends at 71. It contains 11 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [60.0] and does not return any value. It declares 3.0 functions, It has 3.0 functions called inside which are ["__init__", "super", "self.rebuild_ui"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
rebuild_ui
def rebuild_ui(self,*,parameter_definitions: list[JobParameter] = [],async_loading_state: str = "",):"""Rebuilds the widget's UI to the new parameter_definitions, or to display theasync_loading_state message."""if parameter_definitions and async_loading_state:raise RuntimeError("Constructing or updating an OpenJD parameters widget in the "+ "async_loading_state requires an empty parameter_definitions list.")layout = self.layout()if isinstance(layout, QVBoxLayout):for index in reversed(range(layout.count())):child = layout.takeAt(index)if child.widget():child.widget().deleteLater()elif child.layout():child.layout().deleteLater()else:layout = QVBoxLayout(self)layout.setContentsMargins(0, 0, 0, 0)self.controls: dict[str, Any] = {}if async_loading_state:loading = QLabel(async_loading_state, self)loading.setAlignment(Qt.AlignCenter)loading.setMinimumSize(100, 30)loading.setTextInteractionFlags(Qt.TextSelectableByMouse)loading.setWordWrap(True)layout.addWidget(loading)layout.addItem(QSpacerItem(0, 0, QSizePolicy.Minimum, QSizePolicy.Expanding))self.async_loading_state = async_loading_statereturnelse:self.async_loading_state = ""need_spacer = Truecontrol_map = {ControlType.LINE_EDIT.name: _JobTemplateLineEditWidget,ControlType.MULTILINE_EDIT.name: _JobTemplateMultiLineEditWidget,ControlType.DROPDOWN_LIST.name: _JobTemplateDropdownListWidget,ControlType.CHOOSE_INPUT_FILE.name: _JobTemplateInputFileWidget,ControlType.CHOOSE_OUTPUT_FILE.name: _JobTemplateOutputFileWidget,ControlType.CHOOSE_DIRECTORY.name: _JobTemplateDirectoryWidget,ControlType.CHECK_BOX.name: _JobTemplateCheckBoxWidget,ControlType.HIDDEN.name: _JobTemplateHiddenWidget,}for parameter in parameter_definitions:# Skip application-specific parameters like "deadline:priority"if ":" in parameter["name"]:continue# Skip any parameters that do not have a type defined.# This can happen when a queue environment parameter was# saved to the bundle, but the template itself does not contain# that parameter.if "type" not in parameter:continuecontrol_type_name = get_ui_control_for_parameter_definition(parameter)if parameter["type"] == "INT" and control_type_name == "SPIN_BOX":control_widget = _JobTemplateIntSpinBoxWidgetelif parameter["type"] == "FLOAT" and control_type_name == "SPIN_BOX":control_widget = _JobTemplateFloatSpinBoxWidgetelse:control_widget = control_map[control_type_name]group_label = parameter.get("userInterface", {}).get("groupLabel", "")control = control_widget(self, parameter)self.controls[control.name()] = controlcontrol.connect_parameter_changed(lambda message: self.parameter_changed.emit(message))if control_type_name != ControlType.HIDDEN.name:if group_label:group_layout = self.findChild(_JobTemplateGroupLayout, group_label)if not group_layout:group_layout = _JobTemplateGroupLayout(self, group_label)group_layout.setObjectName(group_label)layout.addWidget(group_layout)group_layout.layout().addWidget(control)# type: ignore[union-attr]else:layout.addWidget(control)if control_widget.IS_VERTICAL_EXPANDING:# Turn off the spacer at the end, as there's already a stretchy controlneed_spacer = Falseif need_spacer:layout.addItem(QSpacerItem(0, 0, QSizePolicy.Minimum, QSizePolicy.Expanding))
20
76
3
503
0
73
172
73
self,parameter_definitions,async_loading_state
[]
None
{"AnnAssign": 1, "Assign": 18, "Expr": 16, "For": 2, "If": 14, "Return": 1}
39
100
39
["RuntimeError", "self.layout", "isinstance", "reversed", "range", "layout.count", "layout.takeAt", "child.widget", "deleteLater", "child.widget", "child.layout", "deleteLater", "child.layout", "QVBoxLayout", "layout.setContentsMargins", "QLabel", "loading.setAlignment", "loading.setMinimumSize", "loading.setTextInteractionFlags", "loading.setWordWrap", "layout.addWidget", "layout.addItem", "QSpacerItem", "get_ui_control_for_parameter_definition", "get", "parameter.get", "control_widget", "control.name", "control.connect_parameter_changed", "self.parameter_changed.emit", "self.findChild", "_JobTemplateGroupLayout", "group_layout.setObjectName", "layout.addWidget", "addWidget", "group_layout.layout", "layout.addWidget", "layout.addItem", "QSpacerItem"]
0
[]
The function (rebuild_ui) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 73 and ends at 172. It contains 76 lines of code and it has a cyclomatic complexity of 20. It takes 3 parameters, represented as [73.0] and does not return any value. It declares 39.0 functions, and It has 39.0 functions called inside which are ["RuntimeError", "self.layout", "isinstance", "reversed", "range", "layout.count", "layout.takeAt", "child.widget", "deleteLater", "child.widget", "child.layout", "deleteLater", "child.layout", "QVBoxLayout", "layout.setContentsMargins", "QLabel", "loading.setAlignment", "loading.setMinimumSize", "loading.setTextInteractionFlags", "loading.setWordWrap", "layout.addWidget", "layout.addItem", "QSpacerItem", "get_ui_control_for_parameter_definition", "get", "parameter.get", "control_widget", "control.name", "control.connect_parameter_changed", "self.parameter_changed.emit", "self.findChild", "_JobTemplateGroupLayout", "group_layout.setObjectName", "layout.addWidget", "addWidget", "group_layout.layout", "layout.addWidget", "layout.addItem", "QSpacerItem"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
get_parameters
def get_parameters(self):"""Returns a list of OpenJD parameter definition dicts witha "value" key filled from the widget."""parameter_values = []for control in self.controls.values():parameter = deepcopy(control.job_template_parameter)parameter["value"] = control.value()parameter_values.append(parameter)return parameter_values
2
7
1
47
0
174
184
174
self
[]
Returns
{"Assign": 3, "Expr": 2, "For": 1, "Return": 1}
4
11
4
["self.controls.values", "deepcopy", "control.value", "parameter_values.append"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.compile_py.run_optimization_pass", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.run.impl_py._translate_framework_modules_on_devices"]
The function (get_parameters) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 174 and ends at 184. It contains 7 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declares 4.0 functions, It has 4.0 functions called inside which are ["self.controls.values", "deepcopy", "control.value", "parameter_values.append"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.compile_py.run_optimization_pass", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.run.impl_py._translate_framework_modules_on_devices"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
set_parameter_value
def set_parameter_value(self, parameter: dict[str, Any]):"""Given an OpenJD parameter definition with a "value" key,set the parameter value in the widget.If the parameter value cannot be set, raises a KeyError."""self.controls[parameter["name"]].set_value(parameter["value"])
1
2
2
32
0
186
193
186
self,parameter
[]
None
{"Expr": 2}
1
8
1
["set_value"]
0
[]
The function (set_parameter_value) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 186 and ends at 193. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [186.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["set_value"].
aws-deadline_deadline-cloud
public
public
0
0
_get_parameter_label
def _get_parameter_label(parameter):"""Returns the label to use for this parameter. Default to the label from "userInterface",then the parameter name."""name = parameter["name"]if "userInterface" in parameter:return parameter["userInterface"].get("label", name)else:return name
2
6
1
33
1
196
205
196
parameter
['name']
Returns
{"Assign": 1, "Expr": 1, "If": 1, "Return": 2}
1
10
1
["get"]
8
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateBaseFileWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateCheckBoxWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateDirectoryWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateDropdownListWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateFloatSpinBoxWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateIntSpinBoxWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateLineEditWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateMultiLineEditWidget._build_ui"]
The function (_get_parameter_label) defined within the public class called public.The function start at line 196 and ends at 205. It contains 6 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["get"], It has 8.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateBaseFileWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateCheckBoxWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateDirectoryWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateDropdownListWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateFloatSpinBoxWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateIntSpinBoxWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateLineEditWidget._build_ui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py._JobTemplateMultiLineEditWidget._build_ui"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parameter_name, min_length: int, max_length: int, allowed_pattern: str):super().__init__()self.min_length = min_lengthself.max_length = max_lengthself.allowed_pattern = QRegularExpression(allowed_pattern)if not self.allowed_pattern.isValid():raise RuntimeError(f"Could not process 'allowedPattern' for Job Template parameter {parameter_name} "+ f"with control LINE_EDIT:\n{self.allowed_pattern.errorString()}")
2
10
5
63
0
209
218
209
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 209 and ends at 218. It contains 10 lines of code and it has a cyclomatic complexity of 2. It takes 5 parameters, represented as [209.0] and does not return any value. It declares 3.0 functions, It has 3.0 functions called inside which are ["__init__", "super", "self.rebuild_ui"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
_JobTemplateLineEditValidator
protected
0
1
validate
def validate(self, s, pos):if self.max_length is not None and len(s) > self.max_length:return (QValidator.Invalid, s, pos)if self.allowed_pattern is not None:match = self.allowed_pattern.match(s, matchType=QRegularExpression.PartialPreferFirstMatch)if match.hasPartialMatch():return (QValidator.Intermediate, s, pos)elif not match.hasMatch():return (QValidator.Invalid, s, pos)if self.min_length is not None and len(s) < self.min_length:return (QValidator.Intermediate, s, pos)return (QValidator.Acceptable, s, pos)
8
14
3
132
0
220
236
220
self,s,pos
[]
Returns
{"Assign": 1, "If": 5, "Return": 5}
5
17
5
["len", "self.allowed_pattern.match", "match.hasPartialMatch", "match.hasMatch", "len"]
66
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.lib.formlayout_py.is_edit_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.mozci.taskcluster.tc_py.validate_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.test.test_mozci_py.test_disable_validations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625832_namlook_mongokit.tests.test_inheritance_py.InheritanceTestCase.test_complexe_validation_inheritance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.contrib.restframework.serializers_py.TranslatableModelMixin.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Match.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array._full_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Document.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_is_empty_if_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many_not_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_many_id_errors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_no_type_raises_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.cli_py.validate_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.numpydoc_py.mangle_docstrings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_basic_export", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_content_type_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_infos", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_namespace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_one_entry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_swagger"]
The function (validate) defined within the protected class called _JobTemplateLineEditValidator, that inherit another class.The function start at line 220 and ends at 236. It contains 14 lines of code and it has a cyclomatic complexity of 8. It takes 3 parameters, represented as [220.0], and this function return a value. It declares 5.0 functions, It has 5.0 functions called inside which are ["len", "self.allowed_pattern.match", "match.hasPartialMatch", "match.hasMatch", "len"], It has 66.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.lib.formlayout_py.is_edit_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.mozci.taskcluster.tc_py.validate_schema", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3548418_mozilla_mozilla_ci_tools.test.test_mozci_py.test_disable_validations", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3625832_namlook_mongokit.tests.test_inheritance_py.InheritanceTestCase.test_complexe_validation_inheritance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3646959_kristianoellegaard_django_hvad.hvad.contrib.restframework.serializers_py.TranslatableModelMixin.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.Match.update", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.mim_py.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Array._full_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3696868_turbogears_ming.ming.schema_py.Document.validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_is_empty_if_valid", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_errors_many_not_list", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_many_id_errors", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_no_type_raises_error", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_id", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3960208_marshmallow_code_marshmallow_jsonapi.tests.test_schema_py.TestErrorFormatting.test_validate_type", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.cli_py.validate_object", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3963126_numpy_numpydoc.numpydoc.numpydoc_py.mangle_docstrings", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_basic_export", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_content_type_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_infos", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_namespace", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_one_entry", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.tests.test_postman_py.PostmanTest.test_export_with_swagger"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parent, parameter):super().__init__(parent)self.job_template_parameter = parameter# Validate that the template parameter has the right type and fieldsif parameter["type"] not in self.OPENJD_TYPES:if len(self.OPENJD_TYPES) == 1:raise RuntimeError(f"Job Template parameter {parameter['name']} with control "+ f"{self.OPENJD_CONTROL_TYPE} has type {parameter['type']} but "+ f"must have type {self.OPENJD_TYPES[0]}.")else:raise RuntimeError(f"Job Template parameter {parameter['name']} with control "+ f"{self.OPENJD_CONTROL_TYPE} has type {parameter['type']} but "+ f"must have one of type: {[v[0] for v in self.OPENJD_TYPES]}")for field in self.OPENJD_REQUIRED_PARAMETER_FIELDS:if field not in parameter:raise RuntimeError(f"Job Template parameter {parameter['name']} with control "+ f"{self.OPENJD_CONTROL_TYPE} is missing required field '{field}'.")for field in self.OPENJD_DISALLOWED_PARAMETER_FIELDS:if field in parameter:raise RuntimeError(f"Job Template parameter {parameter['name']} with control "+ f"{self.OPENJD_CONTROL_TYPE} must not provide field '{field}'.")self._build_ui(parameter)# Set the initial value to the first of the value, default or a type defaultvalue = parameter.get("value", parameter.get("default", self.OPENJD_DEFAULT_VALUE))self.set_value(value)
7
31
3
143
0
242
279
242
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 242 and ends at 279. It contains 31 lines of code and it has a cyclomatic complexity of 7. It takes 3 parameters, represented as [242.0] and does not return any value. It declares 3.0 functions, It has 3.0 functions called inside which are ["__init__", "super", "self.rebuild_ui"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
_JobTemplateWidget
protected
0
1
name
def name(self):return self.job_template_parameter["name"]
1
2
1
12
0
281
282
281
self
[]
Returns
{"Return": 1}
0
2
0
[]
8
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.Navigation.ctags_support_py.EntryNode.data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"]
The function (name) defined within the protected class called _JobTemplateWidget, that inherit another class.The function start at line 281 and ends at 282. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 8.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.Navigation.ctags_support_py.EntryNode.data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame._setColor", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.overlays_py.OverlayWidget.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69557048_cvxgrp_cvxpygen.cvxpygen.cpg_py.get_parameter_info", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.dali_main_py._dali_main_internal", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70598532_awslabs_gluonts.src.gluonts.nursery.tsbench.src.tsbench.surrogate.nonparametric_py.NonparametricSurrogate._fit", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.95215919_ITA_Solar_helita.helita.sim.units_py.make_Funclike_magic"].
aws-deadline_deadline-cloud
_JobTemplateWidget
protected
0
1
type
def type(self):return self.job_template_parameter["type"]
1
2
1
12
0
284
285
284
self
[]
Returns
{"Return": 1}
0
2
0
[]
1,534
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.table_py.fun_tabularize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.table_py.strip_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.locales.check_translation_file_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.locales.upgrade_translation_file_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.dates_py.is_date", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.FritzCapability.check_capability", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.check_capability", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.WlanConfigurationInfo.check_capability", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.behaviour.typeql.typeql_steps_py.AttributeMatcher.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.behaviour.typeql.typeql_steps_py.ValueMatcher.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.clear_notifs_py.global_mention_clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.clear_notifs_py.global_reaction_clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.utils.scripts_py.load_module", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.buffer_py.Buffer.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.events_py.WaitPool.fire", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.redis_py.RedisSubHub.sub", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.redis_py.RedisSubHub.subq", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.websockets_py.WebSocketServer.handle_non_rfc_frames", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.websockets_py.WebSocketServer.handle_rfc_6455_frames", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.libkojs_py.komap_js", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.Condition_py.Condition.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.Rule_py.Rule.test", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.StyleChooser_py.StyleChooser.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.StyleChooser_py.StyleChooser.get_all_tags", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.StyleChooser_py.StyleChooser.get_interesting_tags"]
The function (type) defined within the protected class called _JobTemplateWidget, that inherit another class.The function start at line 284 and ends at 285. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It has 1534.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.table_py.fun_tabularize", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.table_py.strip_data", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.locales.check_translation_file_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.locales.upgrade_translation_file_py.main", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.dates_py.is_date", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.FritzCapability.check_capability", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.check_capability", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.WlanConfigurationInfo.check_capability", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.behaviour.typeql.typeql_steps_py.AttributeMatcher.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18354993_vaticle_typedb_client_python.tests.behaviour.typeql.typeql_steps_py.ValueMatcher.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.clear_notifs_py.global_mention_clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.clear_notifs_py.global_reaction_clear", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.utils.scripts_py.load_module", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.buffer_py.Buffer.check", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.events_py.WaitPool.fire", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.redis_py.RedisSubHub.sub", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.redis_py.RedisSubHub.subq", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.websockets_py.WebSocketServer.handle_non_rfc_frames", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3510604_dieseldev_diesel.diesel.protocols.websockets_py.WebSocketServer.handle_rfc_6455_frames", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.libkojs_py.komap_js", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.Condition_py.Condition.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.Rule_py.Rule.test", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.StyleChooser_py.StyleChooser.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.StyleChooser_py.StyleChooser.get_all_tags", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3514367_kothic_kothic.src.mapcss.StyleChooser_py.StyleChooser.get_interesting_tags"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QLineEdit(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget(self.edit_control)self.setLayout(layout)# Enable validation if specifiedif "minLength" in parameter or "maxLength" in parameter or "allowedPattern" in parameter:self.edit_control.setValidator(_JobTemplateLineEditValidator(parameter["name"],parameter.get("minLength", None),parameter.get("maxLength", None),parameter.get("allowedPattern", None),))# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
6
21
2
161
0
295
320
295
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 295 and ends at 320. It contains 21 lines of code and it has a cyclomatic complexity of 6. It takes 2 parameters, represented as [295.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
322
323
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 322 and ends at 323. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setText(str(value))
1
2
2
18
0
325
326
325
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 325 and ends at 326. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [325.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_handle_text_changed
def _handle_text_changed(self, text, callback):message = deepcopy(self.job_template_parameter)message["value"] = textcallback(message)
1
4
3
27
0
328
331
328
self,text,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_text_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 328 and ends at 331. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [328.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
333
336
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 333 and ends at 336. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QVBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QTextEdit(self)self.edit_control.setAcceptRichText(False)if os.name == "nt":font_family = "Consolas"elif os.name == "darwin":font_family = "Monaco"else:font_family = "Monospace"font = self.edit_control.currentFont()font.setFamily(font_family)font.setFixedPitch(True)font.setKerning(False)font.setPointSize(font.pointSize() + 1)self.edit_control.setCurrentFont(font)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Expanding)layout.addWidget(self.label)layout.addWidget(self.edit_control)self.setLayout(layout)# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
5
25
2
186
0
347
374
347
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 347 and ends at 374. It contains 25 lines of code and it has a cyclomatic complexity of 5. It takes 2 parameters, represented as [347.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
376
377
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 376 and ends at 377. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setText(str(value))
1
2
2
18
0
379
380
325
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 379 and ends at 380. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [325.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_handle_text_changed
def _handle_text_changed(self, text, callback):message = deepcopy(self.job_template_parameter)message["value"] = textcallback(message)
1
4
3
27
0
382
385
328
self,text,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_text_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 382 and ends at 385. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [328.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda: self._handle_text_changed(self.value(), callback))
1
4
2
30
0
387
390
387
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 387 and ends at 390. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [387.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = IntDragSpinBox(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget(self.edit_control)self.setLayout(layout)# Enable validation if specifiedif "minValue" in parameter:min_value = parameter["minValue"]if isinstance(min_value, str):try:min_value = int(min_value)except ValueError:raise RuntimeError(f"Job Template parameter {parameter['name']} with INT type has non-integer 'minValue' of {min_value!r}")self.edit_control.setMinimum(min_value)if "maxValue" in parameter:max_value = parameter["maxValue"]if isinstance(max_value, str):try:max_value = int(max_value)except ValueError:raise RuntimeError(f"Job Template parameter {parameter['name']} with INT type has non-integer 'maxValue' of {max_value!r}")self.edit_control.setMaximum(max_value)# Control customizationsif "userInterface" in parameter:single_step_delta = parameter["userInterface"].get("singleStepDelta", -1)drag_multiplier = -1.0# TODO: Make a good default based on single_step_deltaelse:single_step_delta = -1drag_multiplier = -1.0if single_step_delta >= 0:# Set to fixed step modeself.edit_control.setSingleStep(single_step_delta)self.edit_control.setStepType(QSpinBox.DefaultStepType)if drag_multiplier >= 0:# Change drag multiplier from defaultself.edit_control.setDragMultiplier(drag_multiplier)# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
12
43
2
267
0
400
452
400
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 400 and ends at 452. It contains 43 lines of code and it has a cyclomatic complexity of 12. It takes 2 parameters, represented as [400.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):self.edit_control.interpretText()return self.edit_control.value()
1
3
1
20
0
454
456
454
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 454 and ends at 456. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
458
459
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 458 and ends at 459. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateIntSpinBoxWidget
protected
0
1
_handle_value_changed
def _handle_value_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
461
464
461
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_value_changed) defined within the protected class called _JobTemplateIntSpinBoxWidget, that inherit another class.The function start at line 461 and ends at 464. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [461.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
466
469
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 466 and ends at 469. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = FloatDragSpinBox(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget(self.edit_control)self.setLayout(layout)# Enable validation if specifiedif "minValue" in parameter:min_value = parameter["minValue"]if isinstance(min_value, str):try:min_value = float(min_value)except ValueError:raise RuntimeError(f"Job template parameter {parameter['name']} with FLOAT type has non-numeric 'minValue' of {min_value!r}")self.edit_control.setMinimum(min_value)if "maxValue" in parameter:max_value = parameter["maxValue"]if isinstance(max_value, str):try:max_value = float(max_value)except ValueError:raise RuntimeError(f"Job template parameter {parameter['name']} with FLOAT type has non-numeric 'maxValue' of {max_value!r}")self.edit_control.setMaximum(max_value)# Control customizations# Control customizationsif "userInterface" in parameter:decimals = parameter["userInterface"].get("decimals", -1)single_step_delta = parameter["userInterface"].get("singleStepDelta", -1)drag_multiplier = -1.0# TODO: Make a good default based on single_step_deltaelse:decimals = -1single_step_delta = -1drag_multiplier = -1.0if decimals >= 0:# Set to fixed decimal modeself.edit_control.setDecimalMode(DecimalMode.FIXED_DECIMAL)self.edit_control.setDecimals(decimals)if single_step_delta >= 0:# Set to fixed step modeself.edit_control.setSingleStep(single_step_delta)self.edit_control.setStepType(QDoubleSpinBox.DefaultStepType)if drag_multiplier >= 0:# Change drag multiplier from defaultself.edit_control.setDragMultiplier(drag_multiplier)# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
13
48
2
308
0
479
538
479
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 479 and ends at 538. It contains 48 lines of code and it has a cyclomatic complexity of 13. It takes 2 parameters, represented as [479.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):self.edit_control.interpretText()return self.edit_control.value()
1
3
1
20
0
540
542
454
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 540 and ends at 542. It contains 3 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
544
545
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 544 and ends at 545. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateIntSpinBoxWidget
protected
0
1
_handle_value_changed
def _handle_value_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
547
550
461
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_value_changed) defined within the protected class called _JobTemplateIntSpinBoxWidget, that inherit another class.The function start at line 547 and ends at 550. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [461.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
552
555
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 552 and ends at 555. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QComboBox(self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget(self.edit_control)self.setLayout(layout)# Populate the list of valuesfor value in parameter["allowedValues"]:self.edit_control.addItem(str(value), value)# Default to the first item in the listself.OPENJD_DEFAULT_VALUE = parameter["allowedValues"][0]# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
4
15
2
138
0
569
590
569
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 569 and ends at 590. It contains 15 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [569.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
592
593
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 592 and ends at 593. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):index = self.edit_control.findData(value)if index >= 0:self.edit_control.setCurrentIndex(index)
2
4
2
30
0
595
598
595
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 595 and ends at 598. It contains 4 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [595.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateDropdownListWidget
protected
0
1
_handle_index_changed
def _handle_index_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
600
603
600
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_index_changed) defined within the protected class called _JobTemplateDropdownListWidget, that inherit another class.The function start at line 600 and ends at 603. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [600.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.currentIndexChanged.connect(lambda _: self._handle_index_changed(self.value(), callback))
1
4
2
31
0
605
608
605
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 605 and ends at 608. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [605.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Get the filtersfiletype_filter = "Any files (*)"selected_filter = ""if "userInterface" in parameter:file_filter_list = parameter["userInterface"].get("fileFilters")if file_filter_list:filetype_filter = ";;".join(f"{file_filter['label']} ({' '.join(file_filter['patterns'])})"for file_filter in file_filter_list)file_filter_default = parameter["userInterface"].get("fileFilterDefault")if file_filter_default:selected_filter = (f"{file_filter_default['label']} ({' '.join(file_filter_default['patterns'])})")if not selected_filter:selected_filter = filetype_filter.split(";", 1)[0]# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = self.FILE_PICKER_WIDGET(initial_filename="",file_label=parameter["name"],filter=filetype_filter,selected_filter=selected_filter,parent=self,)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget(self.edit_control)self.setLayout(layout)# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
8
34
2
205
0
617
656
617
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 617 and ends at 656. It contains 34 lines of code and it has a cyclomatic complexity of 8. It takes 2 parameters, represented as [617.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
658
659
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 658 and ends at 659. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
661
662
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 661 and ends at 662. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateBaseFileWidget
protected
0
1
_handle_path_changed
def _handle_path_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
664
667
664
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_path_changed) defined within the protected class called _JobTemplateBaseFileWidget, that inherit another class.The function start at line 664 and ends at 667. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [664.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
669
672
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 669 and ends at 672. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter):# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = DirectoryPickerWidget(initial_directory="", directory_label=parameter["name"], parent=self)self.edit_control.setSizePolicy(QSizePolicy.Expanding, QSizePolicy.Minimum)layout.addWidget(self.label)layout.addWidget(self.edit_control)self.setLayout(layout)# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
3
14
2
119
0
692
708
692
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 692 and ends at 708. It contains 14 lines of code and it has a cyclomatic complexity of 3. It takes 2 parameters, represented as [692.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self):return self.edit_control.text()
1
2
1
13
0
710
711
322
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 710 and ends at 711. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value):self.edit_control.setValue(value)
1
2
2
15
0
713
714
458
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 713 and ends at 714. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [458.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateBaseFileWidget
protected
0
1
_handle_path_changed
def _handle_path_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
716
719
664
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_path_changed) defined within the protected class called _JobTemplateBaseFileWidget, that inherit another class.The function start at line 716 and ends at 719. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [664.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.textChanged.connect(lambda text: self._handle_text_changed(text, callback))
1
4
2
27
0
721
724
333
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 721 and ends at 724. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [333.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter: Dict[str, Any]) -> None:# Create the edit widgetlayout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)self.label = QLabel(_get_parameter_label(parameter))self.edit_control = QCheckBox(self)layout.addWidget(self.label)layout.addWidget(self.edit_control, Qt.AlignLeft)self.setLayout(layout)# Validate that 'allowedValues' is correctallowed_values = parameter.get("allowedValues", [])allowed_values_set = set(v.upper() for v in allowed_values)if allowed_values_set not in [set(allowed) for allowed in ALLOWED_VALUES_FOR_CHECK_BOX]:raise RuntimeError(f"Job template parameter {parameter['name']} with CHECK_BOX user interface control requires that 'allowedValues' be "+ f"one of {ALLOWED_VALUES_FOR_CHECK_BOX} (case and order insensitive)")# Determine the true/false correspondencetrue_values = [allowed[0] for allowed in ALLOWED_VALUES_FOR_CHECK_BOX]if allowed_values[0].upper() in true_values:self.true_value = allowed_values[0]self.false_value = allowed_values[1]else:self.true_value = allowed_values[1]self.false_value = allowed_values[0]# Add the decription as a tooltip if providedif "description" in parameter:for widget in (self.label, self.edit_control):widget.setToolTip(parameter["description"])
8
25
2
212
0
742
773
742
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 742 and ends at 773. It contains 25 lines of code and it has a cyclomatic complexity of 8. It takes 2 parameters, represented as [742.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self) -> str:if self.edit_control.isChecked():return self.true_valueelse:return self.false_value
2
5
1
26
0
775
779
775
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 775 and ends at 779. It contains 5 lines of code and it has a cyclomatic complexity of 2. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value: str) -> None:if value == self.true_value:self.edit_control.setChecked(True)else:self.edit_control.setChecked(False)
2
5
2
36
0
781
785
781
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 781 and ends at 785. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [781.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateIntSpinBoxWidget
protected
0
1
_handle_value_changed
def _handle_value_changed(self, value, callback):message = deepcopy(self.job_template_parameter)message["value"] = valuecallback(message)
1
4
3
27
0
787
790
461
self,value,callback
[]
None
{"Assign": 2, "Expr": 1}
2
4
2
["deepcopy", "callback"]
0
[]
The function (_handle_value_changed) defined within the protected class called _JobTemplateIntSpinBoxWidget, that inherit another class.The function start at line 787 and ends at 790. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [461.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["deepcopy", "callback"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):self.edit_control.currentIndexChanged.connect(lambda _: self._handle_index_changed(self.value(), callback))
1
4
2
31
0
792
795
605
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 792 and ends at 795. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [605.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parent: QWidget, parameter: Dict[str, Any]):super().__init__(parent, parameter)
1
2
3
28
0
811
812
811
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 811 and ends at 812. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [811.0] and does not return any value. It declares 3.0 functions, It has 3.0 functions called inside which are ["__init__", "super", "self.rebuild_ui"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
_build_ui
def _build_ui(self, parameter: Dict[str, Any]) -> None:pass
1
2
2
17
0
814
815
814
self,parameter
[]
None
{"Assign": 3, "Expr": 7, "For": 1, "If": 2}
15
26
15
["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"]
0
[]
The function (_build_ui) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 814 and ends at 815. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [814.0] and does not return any value. It declares 15.0 functions, and It has 15.0 functions called inside which are ["QHBoxLayout", "layout.setContentsMargins", "QLabel", "_get_parameter_label", "QLineEdit", "self.edit_control.setSizePolicy", "layout.addWidget", "layout.addWidget", "self.setLayout", "self.edit_control.setValidator", "_JobTemplateLineEditValidator", "parameter.get", "parameter.get", "parameter.get", "widget.setToolTip"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
value
def value(self) -> Any:return self._value
1
2
1
11
0
817
818
817
self
[]
Returns
{"Return": 1}
1
2
1
["self.edit_control.text"]
80
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"]
The function (value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 817 and ends at 818. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declare 1.0 function, It has 1.0 function called inside which is ["self.edit_control.text"], It has 80.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3688162_zalando_incubator_kopf.kopf.reactor.registries_py._matches_metadata", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.numerical_py.variance", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.human_case", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.series_phrase", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.src.pydash.strings_py.url", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_chain", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.pytest_mypy_testing.test_chaining_py.test_mypy_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_chaining_py.test_tap", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3957978_dgilland_pydash.tests.test_strings_py.test_word_cycle", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.fields_py.Raw._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.reqparse_py.Argument.source", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3964638_python_restx_flask_restx.flask_restx.swagger_py._v", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.__init___py.recursively_evaluate_lazy_format", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.dynaconf.utils.parse_conf_py._read_file_formatter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.70258989_dynaconf_dynaconf.tests.test_utils_py.test_lazy_format_class_jinja", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestAuthorizationCodeView.test_pre_auth_valid_client_custom_redirect_uri_scheme", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestDefaultScopes.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_authorization_code_py.TestOIDCAuthorizationCodeView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestDefaultScopesHybrid.test_pre_auth_default_scopes", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_id_token_pre_auth_valid_client", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_default_redirect", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.79438799_jazzband_django_oauth_toolkit.tests.test_hybrid_py.TestHybridView.test_pre_auth_valid_client"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
set_value
def set_value(self, value: Any) -> None:self._value = value
1
2
2
16
0
820
821
820
self,value
[]
None
{"Expr": 1}
2
2
2
["self.edit_control.setText", "str"]
13
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"]
The function (set_value) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 820 and ends at 821. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [820.0] and does not return any value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.edit_control.setText", "str"], It has 13.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3953407_raphielgang_telegram_paperplane.userbot.modules.updater_py.upstream", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.69737800_eprbell_dali_rp2.src.dali.ods_generator_py._fill_cell", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.module_py.PyBudaModule.set_parameter", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.backend.models.test_bert_py.test_multichip_wormhole_split", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.galaxy.test_galaxy_multichip_py.test_multichip_wormhole_b0_multi_encoder_split_concurrent", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.random.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_encoder", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.test.test_bert_py.test_mha", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.widgets.openjd_parameters_widget_py.OpenJDParametersWidget.set_parameter_value"].
aws-deadline_deadline-cloud
_JobTemplateLineEditWidget
protected
0
1
connect_parameter_changed
def connect_parameter_changed(self, callback):pass
1
2
2
8
0
823
824
823
self,callback
[]
None
{"Expr": 1}
2
4
2
["self.edit_control.textChanged.connect", "self._handle_text_changed"]
0
[]
The function (connect_parameter_changed) defined within the protected class called _JobTemplateLineEditWidget, that inherit another class.The function start at line 823 and ends at 824. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [823.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.edit_control.textChanged.connect", "self._handle_text_changed"].
aws-deadline_deadline-cloud
OpenJDParametersWidget
public
0
1
__init__
def __init__(self, parent: QWidget, group_name: str):super().__init__(parent)self.setTitle(group_name)self.setLayout(QVBoxLayout())
1
4
3
35
0
828
831
828
self,parameter_definitions,async_loading_state,parent
[]
None
{"Expr": 2}
3
12
3
["__init__", "super", "self.rebuild_ui"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called OpenJDParametersWidget, that inherit another class.The function start at line 828 and ends at 831. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [828.0] and does not return any value. It declares 3.0 functions, It has 3.0 functions called inside which are ["__init__", "super", "self.rebuild_ui"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,initial_filename: str,file_label: str,filter: str,selected_filter: str,collapse_user_dir: bool,parent,):super().__init__(parent)self._build_ui()with block_signals(self.filename_edit):self.filename_edit.setText(initial_filename)self.file_label = file_labelself.filter = filterself.selected_filter = selected_filterself.collapse_user_dir = collapse_user_dir
1
17
7
77
0
23
39
23
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 23 and ends at 39. It contains 17 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [23.0] and does not return any value. It declares 5.0 functions, It has 5.0 functions called inside which are ["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
_build_ui
def _build_ui(self):self.filename_edit = QLineEdit(parent=self)layout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)layout.addWidget(self.filename_edit)self.choose_file_button = QPushButton("...")self.choose_file_button.setFixedSize(30, 22)layout.addWidget(self.choose_file_button)self.filename_edit.editingFinished.connect(self.on_filename_edited)self.choose_file_button.clicked.connect(self.on_choose_file)self.setLayout(layout)
1
11
1
96
0
41
51
41
self
[]
None
{"Assign": 3, "Expr": 7}
10
11
10
["QLineEdit", "QHBoxLayout", "layout.setContentsMargins", "layout.addWidget", "QPushButton", "self.choose_file_button.setFixedSize", "layout.addWidget", "self.filename_edit.editingFinished.connect", "self.choose_file_button.clicked.connect", "self.setLayout"]
0
[]
The function (_build_ui) defined within the protected class called _FileWidget, that inherit another class.The function start at line 41 and ends at 51. It contains 11 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["QLineEdit", "QHBoxLayout", "layout.setContentsMargins", "layout.addWidget", "QPushButton", "self.choose_file_button.setFixedSize", "layout.addWidget", "self.filename_edit.editingFinished.connect", "self.choose_file_button.clicked.connect", "self.setLayout"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
text
def text(self) -> str:"""Gets the current directory value."""return self.filename_edit.text()
1
2
1
16
0
53
57
53
self
[]
str
{"Expr": 1, "Return": 1}
1
5
1
["self.filename_edit.text"]
28
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.ban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.delete_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.demote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.kick_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.mute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.promote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tunmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.__addCurrentText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToDG", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToWatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707902_apenwarr_redo.docs.md2man_py.do", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_method", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_supported_apis", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.parse_method_api", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.verifyer.verifyer_py.Verifyer.on_member_join", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94654328_simonsobs_sotodlib.sotodlib.site_pipeline.make_uncal_beam_map_py.plot_map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_add_known_path"]
The function (text) defined within the protected class called _FileWidget, that inherit another class.The function start at line 53 and ends at 57. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.filename_edit.text"], It has 28.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.ban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.delete_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.demote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.kick_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.mute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.promote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tunmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.__addCurrentText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToDG", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToWatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707902_apenwarr_redo.docs.md2man_py.do", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_method", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_supported_apis", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.parse_method_api", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.verifyer.verifyer_py.Verifyer.on_member_join", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94654328_simonsobs_sotodlib.sotodlib.site_pipeline.make_uncal_beam_map_py.plot_map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_add_known_path"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
setText
def setText(self, filename):"""Sets the current directory value"""if filename:filename = os.path.normpath(filename)if self.collapse_user_dir:# If it's in the home directory, change to the ~ syntaxhome_dir = os.path.expanduser("~")if filename.startswith(home_dir):filename = os.path.join("~", filename[len(home_dir) + 1 :])with block_signals(self.filename_edit):self.filename_edit.setText(filename)self.path_changed.emit(filename)
4
10
2
89
0
59
72
59
self,filename
[]
None
{"Assign": 3, "Expr": 3, "If": 3, "With": 1}
8
14
8
["os.path.normpath", "os.path.expanduser", "filename.startswith", "os.path.join", "len", "block_signals", "self.filename_edit.setText", "self.path_changed.emit"]
7
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.helpers.recentfilehandler_py.RecentFileHandler.__loadRecentFiles", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.SysCModules.SysCModulesPlugin_py.SysCModulesPlugin.updateGui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.widgets.docktoolbarmanager_py.DockToolBarManager.bar", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_edit_known_path"]
The function (setText) defined within the protected class called _FileWidget, that inherit another class.The function start at line 59 and ends at 72. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [59.0] and does not return any value. It declares 8.0 functions, It has 8.0 functions called inside which are ["os.path.normpath", "os.path.expanduser", "filename.startswith", "os.path.join", "len", "block_signals", "self.filename_edit.setText", "self.path_changed.emit"], It has 7.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.helpers.recentfilehandler_py.RecentFileHandler.__loadRecentFiles", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.SysCModules.SysCModulesPlugin_py.SysCModulesPlugin.updateGui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.widgets.docktoolbarmanager_py.DockToolBarManager.bar", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_edit_known_path"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
on_filename_edited
def on_filename_edited(self):self.path_changed.emit(self.text())
1
2
1
17
0
74
75
74
self
[]
None
{"Expr": 1}
2
2
2
["self.path_changed.emit", "self.text"]
0
[]
The function (on_filename_edited) defined within the protected class called _FileWidget, that inherit another class.The function start at line 74 and ends at 75. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.path_changed.emit", "self.text"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
on_choose_file
def on_choose_file(self):filename = os.path.expanduser(self.filename_edit.text()) or "."filename = self.file_dialog(self, f"Choose {self.file_label}", filename)if filename:self.setText(filename)
3
5
1
45
0
77
83
77
self
[]
None
{"Assign": 2, "Expr": 1, "If": 1}
4
7
4
["os.path.expanduser", "self.filename_edit.text", "self.file_dialog", "self.setText"]
0
[]
The function (on_choose_file) defined within the protected class called _FileWidget, that inherit another class.The function start at line 77 and ends at 83. It contains 5 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["os.path.expanduser", "self.filename_edit.text", "self.file_dialog", "self.setText"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,*,initial_filename: str,file_label: str,filter: str,selected_filter: str,collapse_user_dir: bool = False,parent=None,):super().__init__(initial_filename, file_label, filter, selected_filter, collapse_user_dir, parent)
1
13
7
52
0
107
119
107
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 107 and ends at 119. It contains 13 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [107.0] and does not return any value. It declares 5.0 functions, It has 5.0 functions called inside which are ["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
InputFilePickerWidget
public
0
1
file_dialog
def file_dialog(self, parent, caption, dir):filename, selected_filter = QFileDialog.getOpenFileName(parent,caption,dir,self.filter,self.selected_filter,)self.selected_filter = selected_filterreturn filename
1
10
4
41
0
121
130
121
self,parent,caption,dir
[]
Returns
{"Assign": 2, "Return": 1}
1
10
1
["QFileDialog.getOpenFileName"]
0
[]
The function (file_dialog) defined within the public class called InputFilePickerWidget, that inherit another class.The function start at line 121 and ends at 130. It contains 10 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [121.0], and this function return a value. It declare 1.0 function, and It has 1.0 function called inside which is ["QFileDialog.getOpenFileName"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,*,initial_filename: str,file_label: str,filter: str,selected_filter: str,collapse_user_dir: bool = False,parent=None,):super().__init__(initial_filename, file_label, filter, selected_filter, collapse_user_dir, parent)
1
13
7
52
0
154
166
107
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 154 and ends at 166. It contains 13 lines of code and it has a cyclomatic complexity of 1. It takes 7 parameters, represented as [107.0] and does not return any value. It declares 5.0 functions, It has 5.0 functions called inside which are ["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
InputFilePickerWidget
public
0
1
file_dialog
def file_dialog(self, parent, caption, dir):filename, selected_filter = QFileDialog.getOpenFileName(parent,caption,dir,self.filter,self.selected_filter,)self.selected_filter = selected_filterreturn filename
1
10
4
41
0
168
177
121
self,parent,caption,dir
[]
Returns
{"Assign": 2, "Return": 1}
1
10
1
["QFileDialog.getOpenFileName"]
0
[]
The function (file_dialog) defined within the public class called InputFilePickerWidget, that inherit another class.The function start at line 168 and ends at 177. It contains 10 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [121.0], and this function return a value. It declare 1.0 function, and It has 1.0 function called inside which is ["QFileDialog.getOpenFileName"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
__init__
def __init__(self,*,initial_directory: str,directory_label: str,collapse_user_dir: bool = False,parent=None,):super().__init__(parent)self._build_ui()with block_signals(self.directory_edit):self.directory_edit.setText(initial_directory)self.directory_label = directory_labelself.collapse_user_dir = collapse_user_dir
1
14
5
65
0
200
213
200
self,initial_filename,file_label,filter,selected_filter,collapse_user_dir,parent
[]
None
{"Assign": 4, "Expr": 3, "With": 1}
5
17
5
["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the protected class called _FileWidget, that inherit another class.The function start at line 200 and ends at 213. It contains 14 lines of code and it has a cyclomatic complexity of 1. It takes 5 parameters, represented as [200.0] and does not return any value. It declares 5.0 functions, It has 5.0 functions called inside which are ["__init__", "super", "self._build_ui", "block_signals", "self.filename_edit.setText"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
_build_ui
def _build_ui(self):self.filename_edit = QLineEdit(parent=self)layout = QHBoxLayout()layout.setContentsMargins(0, 0, 0, 0)layout.addWidget(self.filename_edit)self.choose_file_button = QPushButton("...")self.choose_file_button.setFixedSize(30, 22)layout.addWidget(self.choose_file_button)self.filename_edit.editingFinished.connect(self.on_filename_edited)self.choose_file_button.clicked.connect(self.on_choose_file)self.setLayout(layout)
1
11
1
96
0
215
225
41
self
[]
None
{"Assign": 3, "Expr": 7}
10
11
10
["QLineEdit", "QHBoxLayout", "layout.setContentsMargins", "layout.addWidget", "QPushButton", "self.choose_file_button.setFixedSize", "layout.addWidget", "self.filename_edit.editingFinished.connect", "self.choose_file_button.clicked.connect", "self.setLayout"]
0
[]
The function (_build_ui) defined within the protected class called _FileWidget, that inherit another class.The function start at line 215 and ends at 225. It contains 11 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 10.0 functions, and It has 10.0 functions called inside which are ["QLineEdit", "QHBoxLayout", "layout.setContentsMargins", "layout.addWidget", "QPushButton", "self.choose_file_button.setFixedSize", "layout.addWidget", "self.filename_edit.editingFinished.connect", "self.choose_file_button.clicked.connect", "self.setLayout"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
text
def text(self) -> str:"""Gets the current directory value."""return self.filename_edit.text()
1
2
1
16
0
227
231
53
self
[]
str
{"Expr": 1, "Return": 1}
1
5
1
["self.filename_edit.text"]
28
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.ban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.delete_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.demote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.kick_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.mute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.promote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tunmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.__addCurrentText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToDG", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToWatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707902_apenwarr_redo.docs.md2man_py.do", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_method", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_supported_apis", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.parse_method_api", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.verifyer.verifyer_py.Verifyer.on_member_join", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94654328_simonsobs_sotodlib.sotodlib.site_pipeline.make_uncal_beam_map_py.plot_map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_add_known_path"]
The function (text) defined within the protected class called _FileWidget, that inherit another class.The function start at line 227 and ends at 231. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.filename_edit.text"], It has 28.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.ban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.delete_history", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.demote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.kick_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.mute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.promote_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.tunmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unban_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.19906768_dragon_userbot_dragon_userbot.modules.admintool_py.unmute_command", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.__addCurrentText", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToDG", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.controllers.quickwatch_py.QuickWatch.addToWatch", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.notificationframe_py.NotificationFrame.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3707902_apenwarr_redo.docs.md2man_py.do", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_header", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_method", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.gen_supported_apis", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3961680_n4s4_synology_api.docs_parser_py.parse_method_api", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3982496_dav_git_dav_cogs.verifyer.verifyer_py.Verifyer.on_member_join", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94654328_simonsobs_sotodlib.sotodlib.site_pipeline.make_uncal_beam_map_py.plot_map", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_add_known_path"].
aws-deadline_deadline-cloud
_FileWidget
protected
0
1
setText
def setText(self, filename):"""Sets the current directory value"""if filename:filename = os.path.normpath(filename)if self.collapse_user_dir:# If it's in the home directory, change to the ~ syntaxhome_dir = os.path.expanduser("~")if filename.startswith(home_dir):filename = os.path.join("~", filename[len(home_dir) + 1 :])with block_signals(self.filename_edit):self.filename_edit.setText(filename)self.path_changed.emit(filename)
4
10
2
89
0
233
246
59
self,filename
[]
None
{"Assign": 3, "Expr": 3, "If": 3, "With": 1}
8
14
8
["os.path.normpath", "os.path.expanduser", "filename.startswith", "os.path.join", "len", "block_signals", "self.filename_edit.setText", "self.path_changed.emit"]
7
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.helpers.recentfilehandler_py.RecentFileHandler.__loadRecentFiles", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.SysCModules.SysCModulesPlugin_py.SysCModulesPlugin.updateGui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.widgets.docktoolbarmanager_py.DockToolBarManager.bar", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_edit_known_path"]
The function (setText) defined within the protected class called _FileWidget, that inherit another class.The function start at line 233 and ends at 246. It contains 10 lines of code and it has a cyclomatic complexity of 4. It takes 2 parameters, represented as [59.0] and does not return any value. It declares 8.0 functions, It has 8.0 functions called inside which are ["os.path.normpath", "os.path.expanduser", "filename.startswith", "os.path.join", "len", "block_signals", "self.filename_edit.setText", "self.path_changed.emit"], It has 7.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.helpers.recentfilehandler_py.RecentFileHandler.__loadRecentFiles", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.plugins.SysCModules.SysCModulesPlugin_py.SysCModulesPlugin.updateGui", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.gdbioview_py.GdbIoView.executeCliCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.mitraceview_py.MiTraceView.executeMiCommand", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.views.scriptview_py.ScriptView.executePythonCode", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3537748_rainerf_ricodebug.src.widgets.docktoolbarmanager_py.DockToolBarManager.bar", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94876780_aws_deadline_deadline_cloud.src.deadline.client.ui.dialogs.deadline_config_dialog_py.DeadlineWorkstationConfigWidget._on_edit_known_path"].
aws-deadline_deadline-cloud
DirectoryPickerWidget
public
0
1
on_directory_edited
def on_directory_edited(self):self.path_changed.emit(self.text())
1
2
1
17
0
248
249
248
self
[]
None
{"Expr": 1}
2
2
2
["self.path_changed.emit", "self.text"]
0
[]
The function (on_directory_edited) defined within the public class called DirectoryPickerWidget, that inherit another class.The function start at line 248 and ends at 249. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.path_changed.emit", "self.text"].
aws-deadline_deadline-cloud
DirectoryPickerWidget
public
0
1
on_choose_directory
def on_choose_directory(self):directory = os.path.expanduser(self.directory_edit.text()) or "."# If the directory is missing, create it so the dir chooser starts thereif not os.path.isdir(directory):os.makedirs(directory)directory = QFileDialog.getExistingDirectory(self,f"Choose {self.directory_label}",directory,QFileDialog.ShowDirsOnly | QFileDialog.DontResolveSymlinks,)if directory:self.setText(directory)
4
12
1
71
0
251
266
251
self
[]
None
{"Assign": 2, "Expr": 2, "If": 2}
6
16
6
["os.path.expanduser", "self.directory_edit.text", "os.path.isdir", "os.makedirs", "QFileDialog.getExistingDirectory", "self.setText"]
0
[]
The function (on_choose_directory) defined within the public class called DirectoryPickerWidget, that inherit another class.The function start at line 251 and ends at 266. It contains 12 lines of code and it has a cyclomatic complexity of 4. The function does not take any parameters and does not return any value. It declares 6.0 functions, and It has 6.0 functions called inside which are ["os.path.expanduser", "self.directory_edit.text", "os.path.isdir", "os.makedirs", "QFileDialog.getExistingDirectory", "self.setText"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
__init__
def __init__(self, *, initial_settings, initial_shared_parameter_values: dict[str, Any], parent=None):super().__init__(parent=parent)layout = QVBoxLayout(self)# This is a dictionary {<name>: <value>} containing values to# override the queue parameter defaults.self.initial_shared_parameter_values = initial_shared_parameter_valuesself.shared_job_properties_box = SharedJobPropertiesWidget(initial_settings=initial_settings, parent=self)layout.addWidget(self.shared_job_properties_box)self.deadline_cloud_settings_box = DeadlineCloudSettingsWidget(parent=self)layout.addWidget(self.deadline_cloud_settings_box)self.queue_parameters_box = OpenJDParametersWidget(async_loading_state="Loading Queue Environments...", parent=self)layout.addWidget(self.queue_parameters_box)self.queue_parameters_box.parameter_changed.connect(lambda message: self.parameter_changed.emit(message))self.__refresh_queue_parameters_thread: Optional[threading.Thread] = Noneself.__refresh_queue_parameters_id = 0self.__valid_queue = Falseself.canceled = CancelationFlag()self.destroyed.connect(self.canceled.set_canceled)self._queue_parameters_update.connect(self._handle_queue_parameters_update)self._background_exception.connect(self._handle_background_queue_parameters_exception)self._start_load_queue_parameters_thread()# Set any "deadline:*" parameters, like deadline:priority.# The queue parameters will be set asynchronously by the background thread.for name, value in initial_shared_parameter_values.items():if name.startswith("deadline:"):self.set_parameter_value({"name": name, "value": value})
3
30
4
224
0
65
104
65
self,initial_settings,initial_shared_parameter_values,parent
[]
None
{"AnnAssign": 1, "Assign": 8, "Expr": 10, "For": 1, "If": 1}
19
40
19
["__init__", "super", "QVBoxLayout", "SharedJobPropertiesWidget", "layout.addWidget", "DeadlineCloudSettingsWidget", "layout.addWidget", "OpenJDParametersWidget", "layout.addWidget", "self.queue_parameters_box.parameter_changed.connect", "self.parameter_changed.emit", "CancelationFlag", "self.destroyed.connect", "self._queue_parameters_update.connect", "self._background_exception.connect", "self._start_load_queue_parameters_thread", "initial_shared_parameter_values.items", "name.startswith", "self.set_parameter_value"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 65 and ends at 104. It contains 30 lines of code and it has a cyclomatic complexity of 3. It takes 4 parameters, represented as [65.0] and does not return any value. It declares 19.0 functions, It has 19.0 functions called inside which are ["__init__", "super", "QVBoxLayout", "SharedJobPropertiesWidget", "layout.addWidget", "DeadlineCloudSettingsWidget", "layout.addWidget", "OpenJDParametersWidget", "layout.addWidget", "self.queue_parameters_box.parameter_changed.connect", "self.parameter_changed.emit", "CancelationFlag", "self.destroyed.connect", "self._queue_parameters_update.connect", "self._background_exception.connect", "self._start_load_queue_parameters_thread", "initial_shared_parameter_values.items", "name.startswith", "self.set_parameter_value"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
__del__
def __del__(self):self.canceled.set_canceled()if (self.__refresh_queue_parameters_threadand self.__refresh_queue_parameters_thread.is_alive()):self.__refresh_queue_parameters_thread.join()
3
7
1
34
0
106
112
106
self
[]
None
{"Expr": 2, "If": 1}
3
7
3
["self.canceled.set_canceled", "self.__refresh_queue_parameters_thread.is_alive", "self.__refresh_queue_parameters_thread.join"]
0
[]
The function (__del__) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 106 and ends at 112. It contains 7 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["self.canceled.set_canceled", "self.__refresh_queue_parameters_thread.is_alive", "self.__refresh_queue_parameters_thread.join"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
refresh_ui
def refresh_ui(self, job_settings: Any, load_new_bundle: bool = False):# Refresh the job settings in the UIself.shared_job_properties_box.refresh_ui(job_settings)if load_new_bundle:# Update the initial shared parameter values corresponding to the new job bundleself.initial_shared_parameter_values = {}for parameter in job_settings.parameters:if "default" in parameter or "value" in parameter:self.initial_shared_parameter_values[parameter["name"]] = parameter.get("value", parameter.get("default"))self.refresh_queue_parameters(load_new_bundle)
5
10
3
77
0
114
126
114
self,job_settings,load_new_bundle
[]
None
{"Assign": 2, "Expr": 2, "For": 1, "If": 2}
4
13
4
["self.shared_job_properties_box.refresh_ui", "parameter.get", "parameter.get", "self.refresh_queue_parameters"]
0
[]
The function (refresh_ui) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 114 and ends at 126. It contains 10 lines of code and it has a cyclomatic complexity of 5. It takes 3 parameters, represented as [114.0] and does not return any value. It declares 4.0 functions, and It has 4.0 functions called inside which are ["self.shared_job_properties_box.refresh_ui", "parameter.get", "parameter.get", "self.refresh_queue_parameters"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
refresh_queue_parameters
def refresh_queue_parameters(self, load_new_bundle: bool = False):"""If the default queue id or job bundle has changed, refresh the queue parameters."""farm_id = get_setting("defaults.farm_id")queue_id = get_setting("defaults.queue_id")if not farm_id or not queue_id:self.queue_parameters_box.rebuild_ui(async_loading_state="")return# If the user has not selected a farm or queue ID, don't try to loadif (self.queue_parameters_box.async_loading_stateor queue_id != self.queue_idor load_new_bundle):self.queue_parameters_box.rebuild_ui(async_loading_state="Reloading Queue Environments...")# Join the thread if the queue id or job bundle has changed and the thread is runningif ((queue_id != self.queue_id or load_new_bundle)and self.__refresh_queue_parameters_threadand self.__refresh_queue_parameters_thread.is_alive()):self.__refresh_queue_parameters_thread.join()# Start the thread if it doesn't exist or is not aliveif (not self.__refresh_queue_parameters_threador not self.__refresh_queue_parameters_thread.is_alive()):self._start_load_queue_parameters_thread()
12
25
2
123
0
128
158
128
self,load_new_bundle
[]
None
{"Assign": 2, "Expr": 5, "If": 4, "Return": 1}
8
31
8
["get_setting", "get_setting", "self.queue_parameters_box.rebuild_ui", "self.queue_parameters_box.rebuild_ui", "self.__refresh_queue_parameters_thread.is_alive", "self.__refresh_queue_parameters_thread.join", "self.__refresh_queue_parameters_thread.is_alive", "self._start_load_queue_parameters_thread"]
0
[]
The function (refresh_queue_parameters) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 128 and ends at 158. It contains 25 lines of code and it has a cyclomatic complexity of 12. It takes 2 parameters, represented as [128.0] and does not return any value. It declares 8.0 functions, and It has 8.0 functions called inside which are ["get_setting", "get_setting", "self.queue_parameters_box.rebuild_ui", "self.queue_parameters_box.rebuild_ui", "self.__refresh_queue_parameters_thread.is_alive", "self.__refresh_queue_parameters_thread.join", "self.__refresh_queue_parameters_thread.is_alive", "self._start_load_queue_parameters_thread"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_handle_background_queue_parameters_exception
def _handle_background_queue_parameters_exception(self, title: str, error: BaseException):self.__valid_queue = Falseself.valid_parameters.emit(False)if self.__refresh_queue_parameters_thread:self.canceled.set_canceled()self.__refresh_queue_parameters_thread.join()self.queue_parameters_box.rebuild_ui(async_loading_state="Error loading queue environments: {}\n\nError traceback: {}".format(title, error))
2
11
3
62
0
160
170
160
self,title,error
[]
None
{"Assign": 1, "Expr": 4, "If": 1}
5
11
5
["self.valid_parameters.emit", "self.canceled.set_canceled", "self.__refresh_queue_parameters_thread.join", "self.queue_parameters_box.rebuild_ui", "format"]
0
[]
The function (_handle_background_queue_parameters_exception) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 160 and ends at 170. It contains 11 lines of code and it has a cyclomatic complexity of 2. It takes 3 parameters, represented as [160.0] and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["self.valid_parameters.emit", "self.canceled.set_canceled", "self.__refresh_queue_parameters_thread.join", "self.queue_parameters_box.rebuild_ui", "format"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_start_load_queue_parameters_thread
def _start_load_queue_parameters_thread(self):"""Starts a background thread to load the queue parameters."""self.farm_id = farm_id = get_setting("defaults.farm_id")self.queue_id = queue_id = get_setting("defaults.queue_id")if not self.farm_id or not self.queue_id:# If the user has not selected a farm or queue ID, don't bother starting# the thread.returnself.__refresh_queue_parameters_id += 1self.canceled = CancelationFlag()self.__refresh_queue_parameters_thread = threading.Thread(target=self._load_queue_parameters_thread_function,name="AWS Deadline Cloud load queue parameters thread",args=(self.__refresh_queue_parameters_id, farm_id, queue_id),)self.__refresh_queue_parameters_thread.start()
3
13
1
88
0
172
189
172
self
[]
None
{"Assign": 4, "AugAssign": 1, "Expr": 2, "If": 1, "Return": 1}
5
18
5
["get_setting", "get_setting", "CancelationFlag", "threading.Thread", "self.__refresh_queue_parameters_thread.start"]
0
[]
The function (_start_load_queue_parameters_thread) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 172 and ends at 189. It contains 13 lines of code and it has a cyclomatic complexity of 3. The function does not take any parameters and does not return any value. It declares 5.0 functions, and It has 5.0 functions called inside which are ["get_setting", "get_setting", "CancelationFlag", "threading.Thread", "self.__refresh_queue_parameters_thread.start"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
is_queue_valid
def is_queue_valid(self) -> bool:return self.__valid_queue
1
2
1
11
0
191
192
191
self
[]
bool
{"Return": 1}
0
2
0
[]
0
[]
The function (is_queue_valid) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 191 and ends at 192. It contains 2 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value..
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_handle_queue_parameters_update
def _handle_queue_parameters_update(self, refresh_id, queue_parameters):# Apply the refresh if it's still for the latest callif refresh_id == self.__refresh_queue_parameters_id:self.__valid_queue = Trueself.valid_parameters.emit(True)# Apply the initial queue parameter valuesfor parameter in queue_parameters:if parameter["name"] in self.initial_shared_parameter_values:parameter["value"] = self.initial_shared_parameter_values[parameter["name"]]self.queue_parameters_box.rebuild_ui(parameter_definitions=queue_parameters)
4
8
3
68
0
194
203
194
self,refresh_id,queue_parameters
[]
None
{"Assign": 2, "Expr": 2, "For": 1, "If": 2}
2
10
2
["self.valid_parameters.emit", "self.queue_parameters_box.rebuild_ui"]
0
[]
The function (_handle_queue_parameters_update) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 194 and ends at 203. It contains 8 lines of code and it has a cyclomatic complexity of 4. It takes 3 parameters, represented as [194.0] and does not return any value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["self.valid_parameters.emit", "self.queue_parameters_box.rebuild_ui"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
_load_queue_parameters_thread_function
def _load_queue_parameters_thread_function(self, refresh_id: int, farm_id: str, queue_id: str):"""This function gets started in a background thread to refresh the list."""try:queue_parameters = get_queue_parameter_definitions(farmId=farm_id, queueId=queue_id)if not self.canceled:self._queue_parameters_update.emit(refresh_id, queue_parameters)except BaseException as e:if not self.canceled:self._background_exception.emit("Invalid queue parameters", e)
4
8
4
69
0
205
215
205
self,refresh_id,farm_id,queue_id
[]
None
{"Assign": 1, "Expr": 3, "If": 2, "Try": 1}
3
11
3
["get_queue_parameter_definitions", "self._queue_parameters_update.emit", "self._background_exception.emit"]
0
[]
The function (_load_queue_parameters_thread_function) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 205 and ends at 215. It contains 8 lines of code and it has a cyclomatic complexity of 4. It takes 4 parameters, represented as [205.0] and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["get_queue_parameter_definitions", "self._queue_parameters_update.emit", "self._background_exception.emit"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
update_settings
def update_settings(self, settings):self.shared_job_properties_box.update_settings(settings)
1
2
2
15
0
217
218
217
self,settings
[]
None
{"Expr": 1}
1
2
1
["self.shared_job_properties_box.update_settings"]
1
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3656399_avelino_liquidluck.liquidluck.generator_py.load_settings"]
The function (update_settings) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 217 and ends at 218. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [217.0] and does not return any value. It declare 1.0 function, It has 1.0 function called inside which is ["self.shared_job_properties_box.update_settings"], It has 1.0 function calling this function which is ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.3656399_avelino_liquidluck.liquidluck.generator_py.load_settings"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
get_parameters
def get_parameters(self):"""Returns a list of OpenJD parameter definition dicts witha "value" key filled from the widget."""queue_parameters = self.queue_parameters_box.get_parameters()deadline_shared_job_parameters = self.shared_job_properties_box.get_parameters()return queue_parameters + deadline_shared_job_parameters
1
4
1
28
0
220
228
220
self
[]
Returns
{"Assign": 2, "Expr": 1, "Return": 1}
2
9
2
["self.queue_parameters_box.get_parameters", "self.shared_job_properties_box.get_parameters"]
2
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.compile_py.run_optimization_pass", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.run.impl_py._translate_framework_modules_on_devices"]
The function (get_parameters) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 220 and ends at 228. It contains 4 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters, and this function return a value. It declares 2.0 functions, It has 2.0 functions called inside which are ["self.queue_parameters_box.get_parameters", "self.shared_job_properties_box.get_parameters"], It has 2.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.compile_py.run_optimization_pass", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.94705237_tenstorrent_tt_buda.pybuda.pybuda.run.impl_py._translate_framework_modules_on_devices"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
set_parameter_value
def set_parameter_value(self, parameter: dict[str, Any]):"""Given an OpenJD parameter definition with a "value" key,set the parameter value in the widget.If the parameter value cannot be set, raises a KeyError."""if parameter["name"].startswith("deadline:"):self.shared_job_properties_box.set_parameter_value(parameter)else:self.queue_parameters_box.set_parameter_value(parameter)
2
5
2
44
0
230
240
230
self,parameter
[]
None
{"Expr": 3, "If": 1}
3
11
3
["startswith", "self.shared_job_properties_box.set_parameter_value", "self.queue_parameters_box.set_parameter_value"]
0
[]
The function (set_parameter_value) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 230 and ends at 240. It contains 5 lines of code and it has a cyclomatic complexity of 2. It takes 2 parameters, represented as [230.0] and does not return any value. It declares 3.0 functions, and It has 3.0 functions called inside which are ["startswith", "self.shared_job_properties_box.set_parameter_value", "self.queue_parameters_box.set_parameter_value"].
aws-deadline_deadline-cloud
SharedJobSettingsWidget
public
0
1
__init__
def __init__(self, *, initial_settings, parent=None):super().__init__("Job Properties", parent=parent)self._build_ui()self.refresh_ui(initial_settings)
1
4
3
36
0
252
256
252
self,initial_settings,initial_shared_parameter_values,parent
[]
None
{"AnnAssign": 1, "Assign": 8, "Expr": 10, "For": 1, "If": 1}
19
40
19
["__init__", "super", "QVBoxLayout", "SharedJobPropertiesWidget", "layout.addWidget", "DeadlineCloudSettingsWidget", "layout.addWidget", "OpenJDParametersWidget", "layout.addWidget", "self.queue_parameters_box.parameter_changed.connect", "self.parameter_changed.emit", "CancelationFlag", "self.destroyed.connect", "self._queue_parameters_update.connect", "self._background_exception.connect", "self._start_load_queue_parameters_thread", "initial_shared_parameter_values.items", "name.startswith", "self.set_parameter_value"]
4,993
["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"]
The function (__init__) defined within the public class called SharedJobSettingsWidget, that inherit another class.The function start at line 252 and ends at 256. It contains 4 lines of code and it has a cyclomatic complexity of 1. It takes 3 parameters, represented as [252.0] and does not return any value. It declares 19.0 functions, It has 19.0 functions called inside which are ["__init__", "super", "QVBoxLayout", "SharedJobPropertiesWidget", "layout.addWidget", "DeadlineCloudSettingsWidget", "layout.addWidget", "OpenJDParametersWidget", "layout.addWidget", "self.queue_parameters_box.parameter_changed.connect", "self.parameter_changed.emit", "CancelationFlag", "self.destroyed.connect", "self._queue_parameters_update.connect", "self._background_exception.connect", "self._start_load_queue_parameters_thread", "initial_shared_parameter_values.items", "name.startswith", "self.set_parameter_value"], It has 4993.0 functions calling this function which are ["_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.logging_py.LoggerHandler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16379211_lorcalhost_btb_manager_telegram.btb_manager_telegram.schedule_py.TgScheduler.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.AmountMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.CalculatedAmountDiscrepancyError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ExchangeRateMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.InvalidTransactionError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.ParsingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.PriceMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.QuantityNotPositiveError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.SymbolMissingError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedColumnCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.exceptions_py.UnexpectedRowCountError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.raw_py.RawTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_equity_award_json_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.schwab_py.SchwabTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.trading212_py.Trading212Transaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.16798231_kapji_capital_gains_calculator.cgt_calc.parsers.vanguard_py.VanguardTransaction.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.ExporterError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordFileDoesNotExistError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.config.exceptions_py.FritzPasswordTooLongError.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.DeviceInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HomeAutomation.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostInfo.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.HostNumberOfEntries.__init__", "_.content.gdrive.MyDrive.Phd_Thesis.Dataset_Creation.Output.Cloned_Repo_3.18106662_pdreker_fritz_exporter.fritzexporter.fritzcapabilities_py.LanInterfaceConfig.__init__"].
aws-deadline_deadline-cloud
SharedJobPropertiesWidget
public
0
1
_build_ui
def _build_ui(self):self.layout = QFormLayout(self)self.layout.setFieldGrowthPolicy(QFormLayout.AllNonFixedFieldsGrow)self.sub_name_edit = QLineEdit()self.sub_name_edit.setMaxLength(128)self.layout.addRow("Name", self.sub_name_edit)self.desc_label = QLabel("Description")self.desc_edit = QLineEdit()self.desc_edit.setMaxLength(2048)self.layout.addRow(self.desc_label, self.desc_edit)self.priority_box_label = QLabel("Priority")self.priority_box = QSpinBox(parent=self)self.priority_box.setRange(0, 100)self.layout.addRow(self.priority_box_label, self.priority_box)self.initial_status_box_label = QLabel("Initial state")self.initial_status_box = QComboBox(parent=self)self.initial_status_box.addItems(["READY", "SUSPENDED"])self.layout.addRow(self.initial_status_box_label, self.initial_status_box)self.max_failed_tasks_count_box_label = QLabel("Maximum failed tasks count")self.max_failed_tasks_count_box_label.setToolTip("Maximum number of tasks that can fail before the job will be marked as failed.")self.max_failed_tasks_count_box = QSpinBox(parent=self)self.max_failed_tasks_count_box.setRange(0, 2147483647)self.layout.addRow(self.max_failed_tasks_count_box_label, self.max_failed_tasks_count_box)self.max_retries_per_task_box_label = QLabel("Maximum retries per task")self.max_retries_per_task_box_label.setToolTip("Maximum number of times that a task will retry before it's marked as failed.")self.max_retries_per_task_box = QSpinBox(parent=self)self.max_retries_per_task_box.setRange(0, 2147483647)self.layout.addRow(self.max_retries_per_task_box_label, self.max_retries_per_task_box)self.max_worker_count_box_label = QLabel("Maximum worker count")self.max_worker_count_box_label.setToolTip("Maximum worker count of job.")self.max_worker_count_box = QSpinBox()self.max_worker_count_box.setRange(1, 2147483647)self.unlimited_max_worker_count = QRadioButton("No max worker count")self.limited_max_worker_count = QRadioButton("Set max worker count")self.limited_max_worker_count.toggled.connect(self.limited_max_worker_count_radio_button_toggled)self.max_worker_count_layout = QVBoxLayout()self.max_worker_count_layout.addWidget(self.unlimited_max_worker_count)self.max_worker_count_layout.addWidget(self.limited_max_worker_count)self.max_worker_count_layout.addWidget(self.max_worker_count_box)self.layout.addRow(self.max_worker_count_box_label, self.max_worker_count_layout)
1
46
1
385
0
258
310
258
self
[]
None
{"Assign": 17, "Expr": 22}
39
53
39
["QFormLayout", "self.layout.setFieldGrowthPolicy", "QLineEdit", "self.sub_name_edit.setMaxLength", "self.layout.addRow", "QLabel", "QLineEdit", "self.desc_edit.setMaxLength", "self.layout.addRow", "QLabel", "QSpinBox", "self.priority_box.setRange", "self.layout.addRow", "QLabel", "QComboBox", "self.initial_status_box.addItems", "self.layout.addRow", "QLabel", "self.max_failed_tasks_count_box_label.setToolTip", "QSpinBox", "self.max_failed_tasks_count_box.setRange", "self.layout.addRow", "QLabel", "self.max_retries_per_task_box_label.setToolTip", "QSpinBox", "self.max_retries_per_task_box.setRange", "self.layout.addRow", "QLabel", "self.max_worker_count_box_label.setToolTip", "QSpinBox", "self.max_worker_count_box.setRange", "QRadioButton", "QRadioButton", "self.limited_max_worker_count.toggled.connect", "QVBoxLayout", "self.max_worker_count_layout.addWidget", "self.max_worker_count_layout.addWidget", "self.max_worker_count_layout.addWidget", "self.layout.addRow"]
0
[]
The function (_build_ui) defined within the public class called SharedJobPropertiesWidget, that inherit another class.The function start at line 258 and ends at 310. It contains 46 lines of code and it has a cyclomatic complexity of 1. The function does not take any parameters and does not return any value. It declares 39.0 functions, and It has 39.0 functions called inside which are ["QFormLayout", "self.layout.setFieldGrowthPolicy", "QLineEdit", "self.sub_name_edit.setMaxLength", "self.layout.addRow", "QLabel", "QLineEdit", "self.desc_edit.setMaxLength", "self.layout.addRow", "QLabel", "QSpinBox", "self.priority_box.setRange", "self.layout.addRow", "QLabel", "QComboBox", "self.initial_status_box.addItems", "self.layout.addRow", "QLabel", "self.max_failed_tasks_count_box_label.setToolTip", "QSpinBox", "self.max_failed_tasks_count_box.setRange", "self.layout.addRow", "QLabel", "self.max_retries_per_task_box_label.setToolTip", "QSpinBox", "self.max_retries_per_task_box.setRange", "self.layout.addRow", "QLabel", "self.max_worker_count_box_label.setToolTip", "QSpinBox", "self.max_worker_count_box.setRange", "QRadioButton", "QRadioButton", "self.limited_max_worker_count.toggled.connect", "QVBoxLayout", "self.max_worker_count_layout.addWidget", "self.max_worker_count_layout.addWidget", "self.max_worker_count_layout.addWidget", "self.layout.addRow"].
aws-deadline_deadline-cloud
SharedJobPropertiesWidget
public
0
1
limited_max_worker_count_radio_button_toggled
def limited_max_worker_count_radio_button_toggled(self, state):"""Enable the max worker count text box when limited max worker count radio button is enabled."""self.max_worker_count_box.setHidden(not state)
1
2
2
17
0
312
316
312
self,state
[]
None
{"Expr": 2}
1
5
1
["self.max_worker_count_box.setHidden"]
0
[]
The function (limited_max_worker_count_radio_button_toggled) defined within the public class called SharedJobPropertiesWidget, that inherit another class.The function start at line 312 and ends at 316. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 2 parameters, represented as [312.0] and does not return any value. It declare 1.0 function, and It has 1.0 function called inside which is ["self.max_worker_count_box.setHidden"].
aws-deadline_deadline-cloud
SharedJobPropertiesWidget
public
0
1
_has_compatible_attr
def _has_compatible_attr(self, obj, attr_name, expected_type):"""Determine if attribute exists and if the type is correct."""# DCCs can have anything in the settings object since they define their own dataclass to pass in.# Changing what we look for below may cause breaking changes in usage of this library.return isinstance(getattr(obj, attr_name, None), expected_type)
1
2
4
26
0
318
324
318
self,obj,attr_name,expected_type
[]
Returns
{"Expr": 1, "Return": 1}
2
7
2
["isinstance", "getattr"]
0
[]
The function (_has_compatible_attr) defined within the public class called SharedJobPropertiesWidget, that inherit another class.The function start at line 318 and ends at 324. It contains 2 lines of code and it has a cyclomatic complexity of 1. It takes 4 parameters, represented as [318.0], and this function return a value. It declares 2.0 functions, and It has 2.0 functions called inside which are ["isinstance", "getattr"].