MCPcopy Index your code
hub / github.com/dropbox/dropbox-sdk-java / has_builder

Method has_builder

core/generator/java/java.stoneg.py:1986–1993  ·  view source on GitHub ↗
(self, stone_elem)

Source from the content-addressed store, hash-verified

1984 return route.attrs.get('host', 'api')
1985
1986 def has_builder(self, stone_elem):
1987 assert isinstance(stone_elem, (ApiRoute, DataType)), repr(stone_elem)
1988 if isinstance(stone_elem, DataType):
1989 data_type = stone_elem
1990 return is_struct_type(data_type) and len(data_type.all_optional_fields) > 1
1991 else:
1992 route = stone_elem
1993 return self.request_style(route) == 'download' or self.has_builder(route.arg_data_type)
1994
1995 @staticmethod
1996 def route_method(route):

Callers 12

builder_classMethod · 0.95
add_imports_for_routeMethod · 0.80
__init__Method · 0.80
__init__Method · 0.80
generate_namespaceMethod · 0.80
generate_routeMethod · 0.80

Calls 1

request_styleMethod · 0.95

Tested by

no test coverage detected