Meow_MWAI_Engines_Replicate D

Total Complexity 174
Dependencies 10
Dependents 1
Total lines 878
Lines of code 709
Logical lines of code 437
Comment lines 74
Methods 23
Properties 10

Methods 23

Method Rating Maintainability Complexity Lines of code
build_body()
D
29
31 121
run_image_query()
B
35 22 77
run_completion_query()
B
35 19 84
_retrieve_models()
B
41 19 54
execute()
B
38 16 64
run_query()
A
42 13 49
generate_resolutions()
A
44 10 40
_process_raw_models()
S
43 6 44
build_messages()
S
48 6 40
build_url()
S
53 7 24
build_headers()
S
56 5 19
build_form_body()
S
55 4 20
build_options()
S
55 3 19
handle_response_errors()
S
69 3 6
try_decode_error()
S
68 2 7
reset_stream()
S
64 1 11
get_models()
S
80 1 3
get_price()
S
82 1 3
retrieve_models()
S
81 1 3
retrieve_recommended_models()
S
68 1 7
retrieve_all_models()
S
70 1 6
set_environment()
S
76 1 4
__construct()
S
76 1 4