id int64 1 6.07M | name stringlengths 1 295 | code stringlengths 12 426k | language stringclasses 1
value | source_file stringlengths 5 202 | start_line int64 1 158k | end_line int64 1 158k | repo dict |
|---|---|---|---|---|---|---|---|
5,901 | __copy__ | def __copy__(self):
return type(self)(
self.value,
self.loc
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 827 | 831 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,902 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 833 | 834 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,903 | __init__ | def __init__(self, operation_types, loc=None, directives=None):
self.operation_types = operation_types
self.loc = loc
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 851 | 854 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,904 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, SchemaDefinition) and
self.operation_types == other.operation_types and
self.directives == other.directives
)
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 856 | 863 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,905 | __repr__ | def __repr__(self):
return ('SchemaDefinition('
'operation_types={self.operation_types!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 865 | 869 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,906 | __copy__ | def __copy__(self):
return type(self)(
self.operation_types,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 871 | 876 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,907 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 878 | 879 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,908 | __init__ | def __init__(self, operation, type, loc=None):
self.operation = operation
self.type = type
self.loc = loc | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 886 | 889 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,909 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, OperationTypeDefinition) and
self.operation == other.operation and
self.type == other.type
)
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 891 | 898 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,910 | __repr__ | def __repr__(self):
return ('OperationTypeDefinition('
'operation={self.operation!r}'
', type={self.type!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 900 | 904 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,911 | __copy__ | def __copy__(self):
return type(self)(
self.operation,
self.type,
self.loc
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 906 | 911 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,912 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 913 | 914 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,913 | __init__ | def __init__(self, name, fields, interfaces=None, loc=None, directives=None):
self.loc = loc
self.name = name
self.interfaces = interfaces
self.fields = fields
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 921 | 926 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,914 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, ObjectTypeDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.interfaces == other.interfaces and
self.fields == other.fields... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 928 | 938 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,915 | __repr__ | def __repr__(self):
return ('ObjectTypeDefinition('
'name={self.name!r}'
', interfaces={self.interfaces!r}'
', fields={self.fields!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 940 | 946 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,916 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.fields,
self.interfaces,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 948 | 955 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,917 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 957 | 958 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,918 | __init__ | def __init__(self, name, arguments, type, loc=None, directives=None):
self.loc = loc
self.name = name
self.arguments = arguments
self.type = type
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 965 | 970 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,919 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, FieldDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.arguments == other.arguments and
self.type == other.type and
... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 972 | 982 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,920 | __repr__ | def __repr__(self):
return ('FieldDefinition('
'name={self.name!r}'
', arguments={self.arguments!r}'
', type={self.type!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 984 | 989 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,921 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.arguments,
self.type,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 991 | 998 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,922 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,000 | 1,001 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,923 | __init__ | def __init__(self, name, type, default_value=None, loc=None,
directives=None):
self.loc = loc
self.name = name
self.type = type
self.default_value = default_value
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,008 | 1,014 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,924 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, InputValueDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.type == other.type and
self.default_value == other.default_val... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,016 | 1,026 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,925 | __repr__ | def __repr__(self):
return ('InputValueDefinition('
'name={self.name!r}'
', type={self.type!r}'
', default_value={self.default_value!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,028 | 1,034 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,926 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.type,
self.default_value,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,036 | 1,043 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,927 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,045 | 1,046 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,928 | __init__ | def __init__(self, name, fields, loc=None, directives=None):
self.loc = loc
self.name = name
self.fields = fields
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,053 | 1,057 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,929 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, InterfaceTypeDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.fields == other.fields and
self.directives == other.directi... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,059 | 1,068 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,930 | __repr__ | def __repr__(self):
return ('InterfaceTypeDefinition('
'name={self.name!r}'
', fields={self.fields!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,070 | 1,075 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,931 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.fields,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,077 | 1,083 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,932 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,085 | 1,086 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,933 | __init__ | def __init__(self, name, types, loc=None, directives=None):
self.loc = loc
self.name = name
self.types = types
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,093 | 1,097 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,934 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, UnionTypeDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.types == other.types and
self.directives == other.directives
... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,099 | 1,108 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,935 | __repr__ | def __repr__(self):
return ('UnionTypeDefinition('
'name={self.name!r}'
', types={self.types!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,110 | 1,115 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,936 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.types,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,117 | 1,123 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,937 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,125 | 1,126 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,938 | __init__ | def __init__(self, name, loc=None, directives=None):
self.loc = loc
self.name = name
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,133 | 1,136 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,939 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, ScalarTypeDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.directives == other.directives
)
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,138 | 1,146 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,940 | __repr__ | def __repr__(self):
return ('ScalarTypeDefinition('
'name={self.name!r}'
'directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,148 | 1,152 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,941 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.loc,
self.directives
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,154 | 1,159 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,942 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,161 | 1,162 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,943 | __init__ | def __init__(self, name, values, loc=None, directives=None):
self.loc = loc
self.name = name
self.values = values
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,169 | 1,173 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,944 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, EnumTypeDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.values == other.values and
self.directives == other.directives
... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,175 | 1,184 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,945 | __repr__ | def __repr__(self):
return ('EnumTypeDefinition('
'name={self.name!r}'
', values={self.values!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,186 | 1,191 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,946 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.values,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,193 | 1,199 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,947 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,201 | 1,202 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,948 | __init__ | def __init__(self, name, loc=None, directives=None):
self.loc = loc
self.name = name
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,209 | 1,212 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,949 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, EnumValueDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.directives == other.directives
)
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,214 | 1,222 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,950 | __repr__ | def __repr__(self):
return ('EnumValueDefinition('
'name={self.name!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,224 | 1,228 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,951 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,230 | 1,235 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,952 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,237 | 1,238 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,953 | __init__ | def __init__(self, name, fields, loc=None, directives=None):
self.loc = loc
self.name = name
self.fields = fields
self.directives = directives | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,245 | 1,249 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,954 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, InputObjectTypeDefinition) and
# self.loc == other.loc and
self.name == other.name and
self.fields == other.fields and
self.directives == other.direc... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,251 | 1,260 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,955 | __repr__ | def __repr__(self):
return ('InputObjectTypeDefinition('
'name={self.name!r}'
', fields={self.fields!r}'
', directives={self.directives!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,262 | 1,267 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,956 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.fields,
self.loc,
self.directives,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,269 | 1,275 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,957 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,277 | 1,278 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,958 | __init__ | def __init__(self, definition, loc=None):
self.loc = loc
self.definition = definition | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,285 | 1,287 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,959 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, TypeExtensionDefinition) and
# self.loc == other.loc and
self.definition == other.definition
)
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,289 | 1,296 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,960 | __repr__ | def __repr__(self):
return ('TypeExtensionDefinition('
'definition={self.definition!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,298 | 1,301 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,961 | __copy__ | def __copy__(self):
return type(self)(
self.definition,
self.loc
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,303 | 1,307 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,962 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,309 | 1,310 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,963 | __init__ | def __init__(self, name, locations, arguments=None, loc=None):
self.name = name
self.locations = locations
self.loc = loc
self.arguments = arguments | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,317 | 1,321 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,964 | __eq__ | def __eq__(self, other):
return (
self is other or (
isinstance(other, DirectiveDefinition) and
self.name == other.name and
self.locations == other.locations and
# self.loc == other.loc and
self.arguments == other.argume... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,323 | 1,332 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,965 | __repr__ | def __repr__(self):
return ('DirectiveDefinition('
'name={self.name!r}, '
'locations={self.locations!r}'
')').format(self=self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,334 | 1,338 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,966 | __copy__ | def __copy__(self):
return type(self)(
self.name,
self.locations,
self.arguments,
self.loc,
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,340 | 1,346 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,967 | __hash__ | def __hash__(self):
return id(self) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/ast.py | 1,348 | 1,349 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,968 | print_ast | def print_ast(ast):
return visit(ast, PrintingVisitor()) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 8 | 9 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,969 | leave_Name | def leave_Name(self, node, *args):
return node.value | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 15 | 16 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,970 | leave_Variable | def leave_Variable(self, node, *args):
return '$' + node.name | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 18 | 19 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,971 | leave_Document | def leave_Document(self, node, *args):
return join(node.definitions, '\n\n') + '\n' | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 21 | 22 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,972 | leave_OperationDefinition | def leave_OperationDefinition(self, node, *args):
name = node.name
selection_set = node.selection_set
op = node.operation
var_defs = wrap('(', join(node.variable_definitions, ', '), ')')
directives = join(node.directives, ' ')
if not name and not directives and not var_d... | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 24 | 34 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,973 | leave_VariableDefinition | def leave_VariableDefinition(self, node, *args):
return node.variable + ': ' + node.type + wrap(' = ', node.default_value) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 36 | 37 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,974 | leave_SelectionSet | def leave_SelectionSet(self, node, *args):
return block(node.selections) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 39 | 40 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,975 | leave_Field | def leave_Field(self, node, *args):
return join([
wrap('', node.alias, ': ') + node.name + wrap('(', join(node.arguments, ', '), ')'),
join(node.directives, ' '),
node.selection_set
], ' ') | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 42 | 47 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,976 | leave_Argument | def leave_Argument(self, node, *args):
return node.name + ': ' + node.value | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 49 | 50 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,977 | leave_FragmentSpread | def leave_FragmentSpread(self, node, *args):
return '...' + node.name + wrap(' ', join(node.directives, ' ')) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 54 | 55 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,978 | leave_InlineFragment | def leave_InlineFragment(self, node, *args):
return join([
'...',
wrap('on ', node.type_condition),
join(node.directives, ''),
node.selection_set
], ' ') | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 57 | 63 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,979 | leave_FragmentDefinition | def leave_FragmentDefinition(self, node, *args):
return ('fragment {} on {} '.format(node.name, node.type_condition) +
wrap('', join(node.directives, ' '), ' ') +
node.selection_set) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 65 | 68 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,980 | leave_IntValue | def leave_IntValue(self, node, *args):
return node.value | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 72 | 73 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,981 | leave_FloatValue | def leave_FloatValue(self, node, *args):
return node.value | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 75 | 76 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,982 | leave_StringValue | def leave_StringValue(self, node, *args):
return json.dumps(node.value) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 78 | 79 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,983 | leave_BooleanValue | def leave_BooleanValue(self, node, *args):
return json.dumps(node.value) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 81 | 82 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,984 | leave_EnumValue | def leave_EnumValue(self, node, *args):
return node.value | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 84 | 85 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,985 | leave_ListValue | def leave_ListValue(self, node, *args):
return '[' + join(node.values, ', ') + ']' | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 87 | 88 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,986 | leave_ObjectValue | def leave_ObjectValue(self, node, *args):
return '{' + join(node.fields, ', ') + '}' | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 90 | 91 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,987 | leave_ObjectField | def leave_ObjectField(self, node, *args):
return node.name + ': ' + node.value | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 93 | 94 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,988 | leave_Directive | def leave_Directive(self, node, *args):
return '@' + node.name + wrap('(', join(node.arguments, ', '), ')') | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 98 | 99 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,989 | leave_NamedType | def leave_NamedType(self, node, *args):
return node.name | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 103 | 104 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,990 | leave_ListType | def leave_ListType(self, node, *args):
return '[' + node.type + ']' | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 106 | 107 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,991 | leave_NonNullType | def leave_NonNullType(self, node, *args):
return node.type + '!' | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 109 | 110 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,992 | leave_SchemaDefinition | def leave_SchemaDefinition(self, node, *args):
return join([
'schema',
join(node.directives, ' '),
block(node.operation_types),
], ' ') | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 114 | 119 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,993 | leave_OperationTypeDefinition | def leave_OperationTypeDefinition(self, node, *args):
return '{}: {}'.format(node.operation, node.type) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 121 | 122 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,994 | leave_ScalarTypeDefinition | def leave_ScalarTypeDefinition(self, node, *args):
return 'scalar ' + node.name + wrap(' ', join(node.directives, ' ')) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 124 | 125 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,995 | leave_ObjectTypeDefinition | def leave_ObjectTypeDefinition(self, node, *args):
return join([
'type',
node.name,
wrap('implements ', join(node.interfaces, ', ')),
join(node.directives, ' '),
block(node.fields)
], ' ') | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 127 | 134 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,996 | leave_FieldDefinition | def leave_FieldDefinition(self, node, *args):
return (
node.name +
wrap('(', join(node.arguments, ', '), ')') +
': ' +
node.type +
wrap(' ', join(node.directives, ' '))
) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 136 | 143 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,997 | leave_InputValueDefinition | def leave_InputValueDefinition(self, node, *args):
return node.name + ': ' + node.type + wrap(' = ', node.default_value) + wrap(' ', join(node.directives, ' ')) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 145 | 146 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,998 | leave_InterfaceTypeDefinition | def leave_InterfaceTypeDefinition(self, node, *args):
return 'interface ' + node.name + wrap(' ', join(node.directives, ' ')) + ' ' + block(node.fields) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 148 | 149 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
5,999 | leave_UnionTypeDefinition | def leave_UnionTypeDefinition(self, node, *args):
return 'union ' + node.name + wrap(' ', join(node.directives, ' ')) + ' = ' + join(node.types, ' | ') | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 151 | 152 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
6,000 | leave_EnumTypeDefinition | def leave_EnumTypeDefinition(self, node, *args):
return 'enum ' + node.name + wrap(' ', join(node.directives, ' ')) + ' ' + block(node.values) | python | wandb/vendor/graphql-core-1.1/wandb_graphql/language/printer.py | 154 | 155 | {
"name": "Git-abouvier/wandb",
"url": "https://github.com/Git-abouvier/wandb.git",
"license": "MIT",
"stars": 0,
"forks": 0
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.