diff --git a/web/pgadmin/utils/sqlautocomplete/function_metadata.py b/web/pgadmin/utils/sqlautocomplete/function_metadata.py index 113c1397d..b8db0ae2d 100644 --- a/web/pgadmin/utils/sqlautocomplete/function_metadata.py +++ b/web/pgadmin/utils/sqlautocomplete/function_metadata.py @@ -90,7 +90,7 @@ def parse_typed_field_list(tokens): # " ( [ [ argmode ] [ argname ] argtype # [ { DEFAULT | = } default_expr ] [, ...] ] )" - mode_names = {'IN', 'OUT', 'INOUT', 'VARIADIC'} + mode_names = set(('IN', 'OUT', 'INOUT', 'VARIADIC')) parse_state = 'type' parens = 0 field = TypedFieldMetadata()