@@ -16,7 +16,7 @@ module Gradio {
16
16
/**
17
17
* The event handlers, Interface and gradio.ChatInterface classes, which take untrusted data.
18
18
*/
19
- class GradioInput extends API:: CallNode {
19
+ private class GradioInput extends API:: CallNode {
20
20
GradioInput ( ) {
21
21
this =
22
22
API:: moduleImport ( "gradio" )
@@ -45,7 +45,7 @@ module Gradio {
45
45
* The `inputs` parameters in Gradio event handlers, that are lists and are sources of untrusted data.
46
46
* This model allows tracking each element list back to source, f.ex. `gr.Textbox(...)`.
47
47
*/
48
- class GradioInputList extends RemoteFlowSource:: Range {
48
+ private class GradioInputList extends RemoteFlowSource:: Range {
49
49
GradioInputList ( ) {
50
50
exists ( GradioInput call |
51
51
// limit only to lists of parameters given to `inputs`.
@@ -70,7 +70,7 @@ module Gradio {
70
70
/**
71
71
* The `inputs` parameters in Gradio event handlers, that are not lists and are sources of untrusted data.
72
72
*/
73
- class GradioInputParameter extends RemoteFlowSource:: Range {
73
+ private class GradioInputParameter extends RemoteFlowSource:: Range {
74
74
GradioInputParameter ( ) {
75
75
exists ( GradioInput call |
76
76
this = call .getParameter ( 0 , "fn" ) .getParameter ( _) .asSource ( ) and
@@ -86,7 +86,7 @@ module Gradio {
86
86
/**
87
87
* The `inputs` parameters in Gradio decorators to event handlers, that are sources of untrusted data.
88
88
*/
89
- class GradioInputDecorator extends RemoteFlowSource:: Range {
89
+ private class GradioInputDecorator extends RemoteFlowSource:: Range {
90
90
GradioInputDecorator ( ) {
91
91
exists ( GradioInput call |
92
92
this = call .getReturn ( ) .getACall ( ) .getParameter ( 0 ) .getParameter ( _) .asSource ( )
0 commit comments