Dataset Viewer
Auto-converted to Parquet Duplicate
repo_name
stringlengths
5
76
fname
listlengths
1
6
context
stringlengths
15
1.47k
question
stringlengths
31
95
answer
stringlengths
1
358
full_len
int64
58
256
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/accounts/urls.py" ]
from typing import List , Any import typing from django . urls import path from accounts import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . login_view , name = [string] ) , path ( [string] , views . logout_view , name = [string] ) , path ( [string] , views . register , name = [string] ) , ]
What is the type of variable app_name?
builtins.str
144
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/accounts/urls.py" ]
from typing import List , Any import typing from django . urls import path from accounts import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . login_view , name = [string] ) , path ( [string] , views . logout_view , name = [string] ) , path ( [string] , views . register , name = [string] ) , ]
What is the type of variable urlpatterns?
typing.List[typing.Any]
146
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/api/urls.py" ]
from typing import List , Any import typing from django . urls import path , include from rest_framework . routers import DefaultRouter from api import views router = DefaultRouter ( ) router . register ( [string] , views . UserViewSet ) router . register ( [string] , views . TodoListViewSet ) router . register ( [string] , views . TodoViewSet ) [comment] app_name = [string] urlpatterns = [ path ( [string] , include ( router . urls ) ) , ]
What is the type of variable router?
typing.Any
164
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/api/urls.py" ]
from typing import List , Any import typing from django . urls import path , include from rest_framework . routers import DefaultRouter from api import views router = DefaultRouter ( ) router . register ( [string] , views . UserViewSet ) router . register ( [string] , views . TodoListViewSet ) router . register ( [string] , views . TodoViewSet ) [comment] app_name = [string] urlpatterns = [ path ( [string] , include ( router . urls ) ) , ]
What is the type of variable app_name?
builtins.str
166
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/api/urls.py" ]
from typing import List , Any import typing from django . urls import path , include from rest_framework . routers import DefaultRouter from api import views router = DefaultRouter ( ) router . register ( [string] , views . UserViewSet ) router . register ( [string] , views . TodoListViewSet ) router . register ( [string] , views . TodoViewSet ) [comment] app_name = [string] urlpatterns = [ path ( [string] , include ( router . urls ) ) , ]
What is the type of variable urlpatterns?
typing.List[typing.Any]
168
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/lists/forms.py" ]
from typing import Type import typing import lists from django import forms def widget_attrs ( placeholder ) : return { [string] : [string] , [string] : placeholder } def form_kwargs ( widget , label = [string] , max_length = [number] ) : return { [string] : widget , [string] : label , [string] : max_length } class TodoForm ( forms . Form ) : description = forms . CharField ( ** form_kwargs ( widget = forms . TextInput ( attrs = widget_attrs ( [string] ) ) ) ) class TodoListForm ( forms . Form ) : title = forms . CharField ( ** form_kwargs ( widget = forms . TextInput ( attrs = widget_attrs ( [string] ) ) ) )
What is the type of variable description?
typing.Type[lists.forms.TodoForm]
223
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/lists/forms.py" ]
from typing import Type import typing import lists from django import forms def widget_attrs ( placeholder ) : return { [string] : [string] , [string] : placeholder } def form_kwargs ( widget , label = [string] , max_length = [number] ) : return { [string] : widget , [string] : label , [string] : max_length } class TodoForm ( forms . Form ) : description = forms . CharField ( ** form_kwargs ( widget = forms . TextInput ( attrs = widget_attrs ( [string] ) ) ) ) class TodoListForm ( forms . Form ) : title = forms . CharField ( ** form_kwargs ( widget = forms . TextInput ( attrs = widget_attrs ( [string] ) ) ) )
What is the type of variable title?
typing.Type[lists.forms.TodoListForm]
224
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/about/urls.py", "repos/007MrNiko/Stepper/weather/urls.py" ]
from typing import List , Any import typing from django . urls import path from about import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ] from typing import List , Any import typing from django . urls import path from weather import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ]
What is the type of variable app_name?
builtins.str
163
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/about/urls.py", "repos/007MrNiko/Stepper/weather/urls.py" ]
from typing import List , Any import typing from django . urls import path from about import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ] from typing import List , Any import typing from django . urls import path from weather import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ]
What is the type of variable urlpatterns?
typing.List[typing.Any]
165
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/about/urls.py", "repos/007MrNiko/Stepper/weather/urls.py" ]
from typing import List , Any import typing from django . urls import path from about import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ] from typing import List , Any import typing from django . urls import path from weather import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ]
What is the type of variable app_name?
builtins.str
163
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/about/urls.py", "repos/007MrNiko/Stepper/weather/urls.py" ]
from typing import List , Any import typing from django . urls import path from about import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ] from typing import List , Any import typing from django . urls import path from weather import views [comment] app_name = [string] urlpatterns = [ path ( [string] , views . index , name = [string] ) , ]
What is the type of variable urlpatterns?
typing.List[typing.Any]
165
007MrNiko/Stepper
[ "repos/007MrNiko/Stepper/todolist/wsgi.py" ]
from typing import Any import typing [docstring] import os os . environ . setdefault ( [string] , [string] ) from django . core . wsgi import get_wsgi_application application = get_wsgi_application ( )
What is the type of variable application?
typing.Any
105
097475/hansberger
[ "repos/097475/hansberger/hansberger/__init__.py", "repos/097475/hansberger/hansberger/routing.py" ]
from typing import Union , Tuple import typing __version__ = [string] __version_info__ = tuple ( [ int ( num ) if num . isdigit ( ) else num for num in __version__ . replace ( [string] , [string] , [number] ) . split ( [string] ) ] ) from typing import Any import typing from channels . auth import AuthMiddlewareStack from channels . routing import ProtocolTypeRouter , URLRouter import analysis . routing application = ProtocolTypeRouter ( { [string] : AuthMiddlewareStack ( URLRouter ( analysis . routing . websocket_urlpatterns ) ) , } )
What is the type of variable __version__?
builtins.str
189
097475/hansberger
[ "repos/097475/hansberger/hansberger/__init__.py", "repos/097475/hansberger/hansberger/routing.py" ]
from typing import Union , Tuple import typing __version__ = [string] __version_info__ = tuple ( [ int ( num ) if num . isdigit ( ) else num for num in __version__ . replace ( [string] , [string] , [number] ) . split ( [string] ) ] ) from typing import Any import typing from channels . auth import AuthMiddlewareStack from channels . routing import ProtocolTypeRouter , URLRouter import analysis . routing application = ProtocolTypeRouter ( { [string] : AuthMiddlewareStack ( URLRouter ( analysis . routing . websocket_urlpatterns ) ) , } )
What is the type of variable __version_info__?
typing.Tuple[typing.Union[builtins.int,builtins.str],...]
204
097475/hansberger
[ "repos/097475/hansberger/hansberger/__init__.py", "repos/097475/hansberger/hansberger/routing.py" ]
from typing import Union , Tuple import typing __version__ = [string] __version_info__ = tuple ( [ int ( num ) if num . isdigit ( ) else num for num in __version__ . replace ( [string] , [string] , [number] ) . split ( [string] ) ] ) from typing import Any import typing from channels . auth import AuthMiddlewareStack from channels . routing import ProtocolTypeRouter , URLRouter import analysis . routing application = ProtocolTypeRouter ( { [string] : AuthMiddlewareStack ( URLRouter ( analysis . routing . websocket_urlpatterns ) ) , } )
What is the type of variable application?
typing.Any
186
097475/hansberger
[ "repos/097475/hansberger/hansberger/analysis/apps.py", "repos/097475/hansberger/hansberger/analysis/routing.py", "repos/097475/hansberger/hansberger/analysis/__init__.py" ]
from django . apps import AppConfig class AnalysisConfig ( AppConfig ) : name = [string] def ready ( self ) : import analysis . signals [comment] from typing import List , Any import typing from django . conf . urls import url from . import consumers websocket_urlpatterns = [ url ( [string] , consumers . AnalysisConsumer ) , ] default_app_config = [string]
What is the type of variable name?
builtins.str
139
097475/hansberger
[ "repos/097475/hansberger/hansberger/analysis/apps.py", "repos/097475/hansberger/hansberger/analysis/routing.py", "repos/097475/hansberger/hansberger/analysis/__init__.py" ]
from django . apps import AppConfig class AnalysisConfig ( AppConfig ) : name = [string] def ready ( self ) : import analysis . signals [comment] from typing import List , Any import typing from django . conf . urls import url from . import consumers websocket_urlpatterns = [ url ( [string] , consumers . AnalysisConsumer ) , ] default_app_config = [string]
What is the type of variable websocket_urlpatterns?
typing.List[typing.Any]
144
097475/hansberger
[ "repos/097475/hansberger/hansberger/analysis/apps.py", "repos/097475/hansberger/hansberger/analysis/routing.py", "repos/097475/hansberger/hansberger/analysis/__init__.py" ]
from django . apps import AppConfig class AnalysisConfig ( AppConfig ) : name = [string] def ready ( self ) : import analysis . signals [comment] from typing import List , Any import typing from django . conf . urls import url from . import consumers websocket_urlpatterns = [ url ( [string] , consumers . AnalysisConsumer ) , ] default_app_config = [string]
What is the type of variable default_app_config?
builtins.str
141
097475/hansberger
[ "repos/097475/hansberger/hansberger/datasets/apps.py" ]
from django . apps import AppConfig class DatasetsConfig ( AppConfig ) : name = [string] def ready ( self ) : import datasets . signals [comment]
What is the type of variable name?
builtins.str
89
097475/hansberger
[ "repos/097475/hansberger/hansberger/datasets/urls.py" ]
from typing import List , Any import typing from django . urls import path from . views import ( TextDatasetCreateView , EDFDatasetCreateView , DatasetListView , DatasetDeleteView , DatasetDetailView ) app_name = [string] urlpatterns = [ path ( [string] , view = DatasetListView . as_view ( ) , name = [string] ) , path ( [string] , view = TextDatasetCreateView . as_view ( ) , name = [string] ) , path ( [string] , view = EDFDatasetCreateView . as_view ( ) , name = [string] ) , path ( [string] , view = DatasetDetailView . as_view ( ) , name = [string] ) , path ( [string] , view = DatasetDeleteView . as_view ( ) , name = [string] ) , ]
What is the type of variable app_name?
builtins.str
230
097475/hansberger
[ "repos/097475/hansberger/hansberger/datasets/urls.py" ]
from typing import List , Any import typing from django . urls import path from . views import ( TextDatasetCreateView , EDFDatasetCreateView , DatasetListView , DatasetDeleteView , DatasetDetailView ) app_name = [string] urlpatterns = [ path ( [string] , view = DatasetListView . as_view ( ) , name = [string] ) , path ( [string] , view = TextDatasetCreateView . as_view ( ) , name = [string] ) , path ( [string] , view = EDFDatasetCreateView . as_view ( ) , name = [string] ) , path ( [string] , view = DatasetDetailView . as_view ( ) , name = [string] ) , path ( [string] , view = DatasetDeleteView . as_view ( ) , name = [string] ) , ]
What is the type of variable urlpatterns?
typing.List[typing.Any]
232
097475/hansberger
[ "repos/097475/hansberger/hansberger/users/apps.py" ]
from django . apps import AppConfig class UsersAppConfig ( AppConfig ) : name = [string] verbose_name = [string] def ready ( self ) : try : import users . signals [comment] except ImportError : pass
What is the type of variable name?
builtins.str
105
097475/hansberger
[ "repos/097475/hansberger/hansberger/users/apps.py" ]
from django . apps import AppConfig class UsersAppConfig ( AppConfig ) : name = [string] verbose_name = [string] def ready ( self ) : try : import users . signals [comment] except ImportError : pass
What is the type of variable verbose_name?
builtins.str
106
097475/hansberger
[ "repos/097475/hansberger/hansberger/research/forms.py" ]
from typing import List , Any , Type import hansberger import typing from django import forms from . models import Research def research_name_unique_check ( name ) : return bool ( Research . objects . filter ( name = name ) . first ( ) ) class ResearchCreationForm ( forms . ModelForm ) : def clean ( self ) : cleaned_data = super ( ResearchCreationForm , self ) . clean ( ) name = cleaned_data . get ( [string] ) if research_name_unique_check ( name ) : self . add_error ( [string] , [string] ) raise forms . ValidationError ( [string] ) class Meta : model = Research fields = [ [string] , [string] ]
What is the type of variable cleaned_data?
typing.Any
210
097475/hansberger
[ "repos/097475/hansberger/hansberger/research/forms.py" ]
from typing import List , Any , Type import hansberger import typing from django import forms from . models import Research def research_name_unique_check ( name ) : return bool ( Research . objects . filter ( name = name ) . first ( ) ) class ResearchCreationForm ( forms . ModelForm ) : def clean ( self ) : cleaned_data = super ( ResearchCreationForm , self ) . clean ( ) name = cleaned_data . get ( [string] ) if research_name_unique_check ( name ) : self . add_error ( [string] , [string] ) raise forms . ValidationError ( [string] ) class Meta : model = Research fields = [ [string] , [string] ]
What is the type of variable name?
typing.Any
209
097475/hansberger
[ "repos/097475/hansberger/hansberger/research/forms.py" ]
from typing import List , Any , Type import hansberger import typing from django import forms from . models import Research def research_name_unique_check ( name ) : return bool ( Research . objects . filter ( name = name ) . first ( ) ) class ResearchCreationForm ( forms . ModelForm ) : def clean ( self ) : cleaned_data = super ( ResearchCreationForm , self ) . clean ( ) name = cleaned_data . get ( [string] ) if research_name_unique_check ( name ) : self . add_error ( [string] , [string] ) raise forms . ValidationError ( [string] ) class Meta : model = Research fields = [ [string] , [string] ]
What is the type of variable model?
typing.Type[hansberger.research.models.Research]
218
097475/hansberger
[ "repos/097475/hansberger/hansberger/research/forms.py" ]
from typing import List , Any , Type import hansberger import typing from django import forms from . models import Research def research_name_unique_check ( name ) : return bool ( Research . objects . filter ( name = name ) . first ( ) ) class ResearchCreationForm ( forms . ModelForm ) : def clean ( self ) : cleaned_data = super ( ResearchCreationForm , self ) . clean ( ) name = cleaned_data . get ( [string] ) if research_name_unique_check ( name ) : self . add_error ( [string] , [string] ) raise forms . ValidationError ( [string] ) class Meta : model = Research fields = [ [string] , [string] ]
What is the type of variable fields?
typing.List[builtins.str]
214
097475/hansberger
[ "repos/097475/hansberger/hansberger/research/apps.py" ]
from django . apps import AppConfig class ResearchConfig ( AppConfig ) : name = [string] def ready ( self ) : import research . signals [comment]
What is the type of variable name?
builtins.str
88
0hoo/snowball
[ "repos/0hoo/snowball/setup.py" ]
from typing import List , Any , Union , Dict import typing from cx_Freeze import setup , Executable [comment] [comment] buildOptions = dict ( packages = [ [string] , [string] , ] , excludes = [ ] ) base = [string] executables = [ Executable ( [string] , base = base ) , Executable ( [string] , base = base ) , ] setup ( name = [string] , version = [string] , description = [string] , options = dict ( build_exe = buildOptions ) , executables = executables )
What is the type of variable buildOptions?
typing.Dict[builtins.str,typing.Union[typing.List[typing.Any],typing.List[builtins.str]]]
206
0hoo/snowball
[ "repos/0hoo/snowball/setup.py" ]
from typing import List , Any , Union , Dict import typing from cx_Freeze import setup , Executable [comment] [comment] buildOptions = dict ( packages = [ [string] , [string] , ] , excludes = [ ] ) base = [string] executables = [ Executable ( [string] , base = base ) , Executable ( [string] , base = base ) , ] setup ( name = [string] , version = [string] , description = [string] , options = dict ( build_exe = buildOptions ) , executables = executables )
What is the type of variable base?
builtins.str
183
0hoo/snowball
[ "repos/0hoo/snowball/setup.py" ]
from typing import List , Any , Union , Dict import typing from cx_Freeze import setup , Executable [comment] [comment] buildOptions = dict ( packages = [ [string] , [string] , ] , excludes = [ ] ) base = [string] executables = [ Executable ( [string] , base = base ) , Executable ( [string] , base = base ) , ] setup ( name = [string] , version = [string] , description = [string] , options = dict ( build_exe = buildOptions ) , executables = executables )
What is the type of variable executables?
typing.List[typing.Any]
187
0mars/graphx
[ "repos/0mars/graphx/packages/registry/src/registry/_version.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_install_requires.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string] from typing import List import typing install_requires = [ [string] , [string] , [string] ] from typing import Union , List import typing version_info = [ [number] , [number] , [number] , [string] ] __version__ = [string]
What is the type of variable version_info?
typing.List[builtins.int]
154
0mars/graphx
[ "repos/0mars/graphx/packages/registry/src/registry/_version.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_install_requires.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string] from typing import List import typing install_requires = [ [string] , [string] , [string] ] from typing import Union , List import typing version_info = [ [number] , [number] , [number] , [string] ] __version__ = [string]
What is the type of variable __version__?
builtins.str
151
0mars/graphx
[ "repos/0mars/graphx/packages/registry/src/registry/_version.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_install_requires.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string] from typing import List import typing install_requires = [ [string] , [string] , [string] ] from typing import Union , List import typing version_info = [ [number] , [number] , [number] , [string] ] __version__ = [string]
What is the type of variable install_requires?
typing.List[builtins.str]
154
0mars/graphx
[ "repos/0mars/graphx/packages/registry/src/registry/_version.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_install_requires.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string] from typing import List import typing install_requires = [ [string] , [string] , [string] ] from typing import Union , List import typing version_info = [ [number] , [number] , [number] , [string] ] __version__ = [string]
What is the type of variable version_info?
typing.List[typing.Union[builtins.int,builtins.str]]
162
0mars/graphx
[ "repos/0mars/graphx/packages/registry/src/registry/_version.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_install_requires.py", "repos/0mars/graphx/packages/monomanage/src/monomanage/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string] from typing import List import typing install_requires = [ [string] , [string] , [string] ] from typing import Union , List import typing version_info = [ [number] , [number] , [number] , [string] ] __version__ = [string]
What is the type of variable __version__?
builtins.str
151
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/providers.py" ]
from typing import List import typing import builtins import injector from typing import List from injector import Injector class InjectorProvider ( object ) : def __init__ ( self ) : self . configurators = [ ] self . tainted = True self . injector = None def get_injector ( self ) : if self . tainted : self . injector = Injector ( self . configurators ) self . clean ( ) return self . injector else : return self . injector def add_configurator ( self , configurator ) : self . configurators . append ( configurator ) self . taint ( ) def taint ( self ) : self . tainted = True def clean ( self ) : self . tainted = False
What is the type of variable configurators?
typing.List
218
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/providers.py" ]
from typing import List import typing import builtins import injector from typing import List from injector import Injector class InjectorProvider ( object ) : def __init__ ( self ) : self . configurators = [ ] self . tainted = True self . injector = None def get_injector ( self ) : if self . tainted : self . injector = Injector ( self . configurators ) self . clean ( ) return self . injector else : return self . injector def add_configurator ( self , configurator ) : self . configurators . append ( configurator ) self . taint ( ) def taint ( self ) : self . tainted = True def clean ( self ) : self . tainted = False
What is the type of variable tainted?
builtins.bool
218
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/providers.py" ]
from typing import List import typing import builtins import injector from typing import List from injector import Injector class InjectorProvider ( object ) : def __init__ ( self ) : self . configurators = [ ] self . tainted = True self . injector = None def get_injector ( self ) : if self . tainted : self . injector = Injector ( self . configurators ) self . clean ( ) return self . injector else : return self . injector def add_configurator ( self , configurator ) : self . configurators . append ( configurator ) self . taint ( ) def taint ( self ) : self . tainted = True def clean ( self ) : self . tainted = False
What is the type of variable injector?
injector.Injector
219
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/providers.py" ]
from typing import List import typing import builtins import injector from typing import List from injector import Injector class InjectorProvider ( object ) : def __init__ ( self ) : self . configurators = [ ] self . tainted = True self . injector = None def get_injector ( self ) : if self . tainted : self . injector = Injector ( self . configurators ) self . clean ( ) return self . injector else : return self . injector def add_configurator ( self , configurator ) : self . configurators . append ( configurator ) self . taint ( ) def taint ( self ) : self . tainted = True def clean ( self ) : self . tainted = False
What is the type of variable get_injector?
injector.Injector
222
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/providers.py" ]
from typing import List import typing import builtins import injector from typing import List from injector import Injector class InjectorProvider ( object ) : def __init__ ( self ) : self . configurators = [ ] self . tainted = True self . injector = None def get_injector ( self ) : if self . tainted : self . injector = Injector ( self . configurators ) self . clean ( ) return self . injector else : return self . injector def add_configurator ( self , configurator ) : self . configurators . append ( configurator ) self . taint ( ) def taint ( self ) : self . tainted = True def clean ( self ) : self . tainted = False
What is the type of variable add_configurator?
None
218
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/providers.py" ]
from typing import List import typing import builtins import injector from typing import List from injector import Injector class InjectorProvider ( object ) : def __init__ ( self ) : self . configurators = [ ] self . tainted = True self . injector = None def get_injector ( self ) : if self . tainted : self . injector = Injector ( self . configurators ) self . clean ( ) return self . injector else : return self . injector def add_configurator ( self , configurator ) : self . configurators . append ( configurator ) self . taint ( ) def taint ( self ) : self . tainted = True def clean ( self ) : self . tainted = False
What is the type of variable taint?
None
217
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/providers.py" ]
from typing import List import typing import builtins import injector from typing import List from injector import Injector class InjectorProvider ( object ) : def __init__ ( self ) : self . configurators = [ ] self . tainted = True self . injector = None def get_injector ( self ) : if self . tainted : self . injector = Injector ( self . configurators ) self . clean ( ) return self . injector else : return self . injector def add_configurator ( self , configurator ) : self . configurators . append ( configurator ) self . taint ( ) def taint ( self ) : self . tainted = True def clean ( self ) : self . tainted = False
What is the type of variable clean?
None
216
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string]
What is the type of variable version_info?
typing.List[builtins.int]
90
0mars/graphx
[ "repos/0mars/graphx/packages/injector_provider/src/injector_provider/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string]
What is the type of variable __version__?
builtins.str
87
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string]
What is the type of variable version_info?
typing.List[builtins.int]
90
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string]
What is the type of variable __version__?
builtins.str
87
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/app/settings.py" ]
from typing import List , Any import typing from graphx . configurations . infrastructure . db import DataBaseService from graphx . configurations . infrastructure . environment import EnvironmentService from graphx . configurations . infrastructure . logging import LoggingService from graphx . configurations . infrastructure . rest . swagger . registry import SwaggerService from graphx . core . rest . registry import NodeService from registry . services import Props as BaseProps services = [ LoggingService ( ) , EnvironmentService ( ) , DataBaseService ( ) , NodeService ( ) , SwaggerService ( ) ] class Props ( BaseProps ) : DI_PROVIDER = [number] FALCON = [number] APP_URL = [string] NEO_URL = [string] NEO_USERNAME = [string] NEO_PASSWORD = [string]
What is the type of variable services?
typing.List[typing.Any]
227
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/app/settings.py" ]
from typing import List , Any import typing from graphx . configurations . infrastructure . db import DataBaseService from graphx . configurations . infrastructure . environment import EnvironmentService from graphx . configurations . infrastructure . logging import LoggingService from graphx . configurations . infrastructure . rest . swagger . registry import SwaggerService from graphx . core . rest . registry import NodeService from registry . services import Props as BaseProps services = [ LoggingService ( ) , EnvironmentService ( ) , DataBaseService ( ) , NodeService ( ) , SwaggerService ( ) ] class Props ( BaseProps ) : DI_PROVIDER = [number] FALCON = [number] APP_URL = [string] NEO_URL = [string] NEO_USERNAME = [string] NEO_PASSWORD = [string]
What is the type of variable DI_PROVIDER?
builtins.int
225
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/app/settings.py" ]
from typing import List , Any import typing from graphx . configurations . infrastructure . db import DataBaseService from graphx . configurations . infrastructure . environment import EnvironmentService from graphx . configurations . infrastructure . logging import LoggingService from graphx . configurations . infrastructure . rest . swagger . registry import SwaggerService from graphx . core . rest . registry import NodeService from registry . services import Props as BaseProps services = [ LoggingService ( ) , EnvironmentService ( ) , DataBaseService ( ) , NodeService ( ) , SwaggerService ( ) ] class Props ( BaseProps ) : DI_PROVIDER = [number] FALCON = [number] APP_URL = [string] NEO_URL = [string] NEO_USERNAME = [string] NEO_PASSWORD = [string]
What is the type of variable FALCON?
builtins.int
226
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/app/settings.py" ]
from typing import List , Any import typing from graphx . configurations . infrastructure . db import DataBaseService from graphx . configurations . infrastructure . environment import EnvironmentService from graphx . configurations . infrastructure . logging import LoggingService from graphx . configurations . infrastructure . rest . swagger . registry import SwaggerService from graphx . core . rest . registry import NodeService from registry . services import Props as BaseProps services = [ LoggingService ( ) , EnvironmentService ( ) , DataBaseService ( ) , NodeService ( ) , SwaggerService ( ) ] class Props ( BaseProps ) : DI_PROVIDER = [number] FALCON = [number] APP_URL = [string] NEO_URL = [string] NEO_USERNAME = [string] NEO_PASSWORD = [string]
What is the type of variable APP_URL?
builtins.str
225
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/app/settings.py" ]
from typing import List , Any import typing from graphx . configurations . infrastructure . db import DataBaseService from graphx . configurations . infrastructure . environment import EnvironmentService from graphx . configurations . infrastructure . logging import LoggingService from graphx . configurations . infrastructure . rest . swagger . registry import SwaggerService from graphx . core . rest . registry import NodeService from registry . services import Props as BaseProps services = [ LoggingService ( ) , EnvironmentService ( ) , DataBaseService ( ) , NodeService ( ) , SwaggerService ( ) ] class Props ( BaseProps ) : DI_PROVIDER = [number] FALCON = [number] APP_URL = [string] NEO_URL = [string] NEO_USERNAME = [string] NEO_PASSWORD = [string]
What is the type of variable NEO_URL?
builtins.str
225
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/app/settings.py" ]
from typing import List , Any import typing from graphx . configurations . infrastructure . db import DataBaseService from graphx . configurations . infrastructure . environment import EnvironmentService from graphx . configurations . infrastructure . logging import LoggingService from graphx . configurations . infrastructure . rest . swagger . registry import SwaggerService from graphx . core . rest . registry import NodeService from registry . services import Props as BaseProps services = [ LoggingService ( ) , EnvironmentService ( ) , DataBaseService ( ) , NodeService ( ) , SwaggerService ( ) ] class Props ( BaseProps ) : DI_PROVIDER = [number] FALCON = [number] APP_URL = [string] NEO_URL = [string] NEO_USERNAME = [string] NEO_PASSWORD = [string]
What is the type of variable NEO_USERNAME?
builtins.str
225
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/app/settings.py" ]
from typing import List , Any import typing from graphx . configurations . infrastructure . db import DataBaseService from graphx . configurations . infrastructure . environment import EnvironmentService from graphx . configurations . infrastructure . logging import LoggingService from graphx . configurations . infrastructure . rest . swagger . registry import SwaggerService from graphx . core . rest . registry import NodeService from registry . services import Props as BaseProps services = [ LoggingService ( ) , EnvironmentService ( ) , DataBaseService ( ) , NodeService ( ) , SwaggerService ( ) ] class Props ( BaseProps ) : DI_PROVIDER = [number] FALCON = [number] APP_URL = [string] NEO_URL = [string] NEO_USERNAME = [string] NEO_PASSWORD = [string]
What is the type of variable NEO_PASSWORD?
builtins.str
225
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/environment/__init__.py" ]
from typing import Container import registry import os from registry . services import BootableService , Container class EnvironmentService ( BootableService ) : def boot ( self , container ) : from graphx . configurations . app . settings import Props container . set ( Props . APP_URL , os . environ . get ( Props . APP_URL . value ) ) container . set ( Props . NEO_URL , os . environ . get ( Props . NEO_URL . value ) ) container . set ( Props . NEO_USERNAME , os . environ . get ( Props . NEO_USERNAME . value ) ) container . set ( Props . NEO_PASSWORD , os . environ . get ( Props . NEO_PASSWORD . value ) )
What is the type of variable container?
registry.services.Container
201
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/__init__.py" ]
from typing import Container , Any import typing import registry from graphx . configurations . infrastructure . db . definitions import GraphConfigurator from registry . services import BootableService , Container class DataBaseService ( BootableService ) : def boot ( self , container ) : from graphx . configurations . app . settings import Props url = container . get ( Props . NEO_URL ) username = container . get ( Props . NEO_USERNAME ) password = container . get ( Props . NEO_PASSWORD ) configurator = GraphConfigurator ( url , username , password ) provider = container . get ( Props . DI_PROVIDER ) provider . add_configurator ( configurator )
What is the type of variable container?
registry.services.Container
195
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/__init__.py" ]
from typing import Container , Any import typing import registry from graphx . configurations . infrastructure . db . definitions import GraphConfigurator from registry . services import BootableService , Container class DataBaseService ( BootableService ) : def boot ( self , container ) : from graphx . configurations . app . settings import Props url = container . get ( Props . NEO_URL ) username = container . get ( Props . NEO_USERNAME ) password = container . get ( Props . NEO_PASSWORD ) configurator = GraphConfigurator ( url , username , password ) provider = container . get ( Props . DI_PROVIDER ) provider . add_configurator ( configurator )
What is the type of variable url?
typing.Any
194
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/__init__.py" ]
from typing import Container , Any import typing import registry from graphx . configurations . infrastructure . db . definitions import GraphConfigurator from registry . services import BootableService , Container class DataBaseService ( BootableService ) : def boot ( self , container ) : from graphx . configurations . app . settings import Props url = container . get ( Props . NEO_URL ) username = container . get ( Props . NEO_USERNAME ) password = container . get ( Props . NEO_PASSWORD ) configurator = GraphConfigurator ( url , username , password ) provider = container . get ( Props . DI_PROVIDER ) provider . add_configurator ( configurator )
What is the type of variable username?
typing.Any
194
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/__init__.py" ]
from typing import Container , Any import typing import registry from graphx . configurations . infrastructure . db . definitions import GraphConfigurator from registry . services import BootableService , Container class DataBaseService ( BootableService ) : def boot ( self , container ) : from graphx . configurations . app . settings import Props url = container . get ( Props . NEO_URL ) username = container . get ( Props . NEO_USERNAME ) password = container . get ( Props . NEO_PASSWORD ) configurator = GraphConfigurator ( url , username , password ) provider = container . get ( Props . DI_PROVIDER ) provider . add_configurator ( configurator )
What is the type of variable password?
typing.Any
194
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/__init__.py" ]
from typing import Container , Any import typing import registry from graphx . configurations . infrastructure . db . definitions import GraphConfigurator from registry . services import BootableService , Container class DataBaseService ( BootableService ) : def boot ( self , container ) : from graphx . configurations . app . settings import Props url = container . get ( Props . NEO_URL ) username = container . get ( Props . NEO_USERNAME ) password = container . get ( Props . NEO_PASSWORD ) configurator = GraphConfigurator ( url , username , password ) provider = container . get ( Props . DI_PROVIDER ) provider . add_configurator ( configurator )
What is the type of variable configurator?
typing.Any
195
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/__init__.py" ]
from typing import Container , Any import typing import registry from graphx . configurations . infrastructure . db . definitions import GraphConfigurator from registry . services import BootableService , Container class DataBaseService ( BootableService ) : def boot ( self , container ) : from graphx . configurations . app . settings import Props url = container . get ( Props . NEO_URL ) username = container . get ( Props . NEO_USERNAME ) password = container . get ( Props . NEO_PASSWORD ) configurator = GraphConfigurator ( url , username , password ) provider = container . get ( Props . DI_PROVIDER ) provider . add_configurator ( configurator )
What is the type of variable provider?
typing.Any
194
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/definitions.py" ]
from typing import Any import typing import py2neo from dataclasses import dataclass from injector import Module , singleton , provider from py2neo import Graph @ dataclass class GraphConfigurator ( Module ) : url = ... username = ... password = ... @ singleton @ provider def provide_graph ( self ) : [comment] graph = Graph ( [string] , user = self . username , password = self . password ) [comment] return graph . begin ( ) [comment]
What is the type of variable url?
builtins.str
164
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/definitions.py" ]
from typing import Any import typing import py2neo from dataclasses import dataclass from injector import Module , singleton , provider from py2neo import Graph @ dataclass class GraphConfigurator ( Module ) : url = ... username = ... password = ... @ singleton @ provider def provide_graph ( self ) : [comment] graph = Graph ( [string] , user = self . username , password = self . password ) [comment] return graph . begin ( ) [comment]
What is the type of variable username?
builtins.str
164
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/definitions.py" ]
from typing import Any import typing import py2neo from dataclasses import dataclass from injector import Module , singleton , provider from py2neo import Graph @ dataclass class GraphConfigurator ( Module ) : url = ... username = ... password = ... @ singleton @ provider def provide_graph ( self ) : [comment] graph = Graph ( [string] , user = self . username , password = self . password ) [comment] return graph . begin ( ) [comment]
What is the type of variable password?
builtins.str
164
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/definitions.py" ]
from typing import Any import typing import py2neo from dataclasses import dataclass from injector import Module , singleton , provider from py2neo import Graph @ dataclass class GraphConfigurator ( Module ) : url = ... username = ... password = ... @ singleton @ provider def provide_graph ( self ) : [comment] graph = Graph ( [string] , user = self . username , password = self . password ) [comment] return graph . begin ( ) [comment]
What is the type of variable provide_graph?
py2neo.Graph
166
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/configurations/infrastructure/db/definitions.py" ]
from typing import Any import typing import py2neo from dataclasses import dataclass from injector import Module , singleton , provider from py2neo import Graph @ dataclass class GraphConfigurator ( Module ) : url = ... username = ... password = ... @ singleton @ provider def provide_graph ( self ) : [comment] graph = Graph ( [string] , user = self . username , password = self . password ) [comment] return graph . begin ( ) [comment]
What is the type of variable graph?
typing.Any
163
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/entities.py" ]
from dataclasses import dataclass @ dataclass class Node : id = ... name = ... @ dataclass class Edge : source = ... destination = ... cost = ...
What is the type of variable id?
builtins.str
93
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/entities.py" ]
from dataclasses import dataclass @ dataclass class Node : id = ... name = ... @ dataclass class Edge : source = ... destination = ... cost = ...
What is the type of variable name?
builtins.str
93
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/entities.py" ]
from dataclasses import dataclass @ dataclass class Node : id = ... name = ... @ dataclass class Edge : source = ... destination = ... cost = ...
What is the type of variable source?
builtins.str
93
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/entities.py" ]
from dataclasses import dataclass @ dataclass class Node : id = ... name = ... @ dataclass class Edge : source = ... destination = ... cost = ...
What is the type of variable destination?
builtins.str
93
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/entities.py" ]
from dataclasses import dataclass @ dataclass class Node : id = ... name = ... @ dataclass class Edge : source = ... destination = ... cost = ...
What is the type of variable cost?
builtins.int
93
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/rest/schemas.py" ]
from typing import Type import typing import packages import graphx from marshmallow import Schema , fields from graphx . core . entities import Node as DomainNode class Node ( Schema ) : [docstring] id = fields . String ( required = False ) name = fields . String ( required = False ) @ classmethod def from_domain_object ( cls , node ) : object = cls ( ) object . id = node . id object . name = node . name return object class Edge ( Schema ) : [docstring] source = fields . String ( ) destination = fields . String ( ) cost = fields . Integer ( ) @ classmethod def from_domain_object ( cls , edge ) : object = cls ( ) object . source = edge . source object . destination = edge . destination object . cost = edge . cost return object
What is the type of variable object?
packages.graphx.src.graphx.core.rest.schemas.Edge
253
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/rest/assemblers.py" ]
from typing import List import typing import graphx from typing import List from graphx . core . entities import Node , Edge from graphx . core . rest . schemas import Node as NodeResource from graphx . core . rest . schemas import Edge as EdgeResource class NodeAssembler ( object ) : @ staticmethod def assemble_collection ( nodes ) : return [ NodeResource . from_domain_object ( node ) for node in nodes ] class EdgeAssembler ( object ) : @ staticmethod def assemble_collection ( edges ) : return [ EdgeResource . from_domain_object ( edge ) for edge in edges ]
What is the type of variable nodes?
typing.List[graphx.core.entities.Node]
189
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/rest/assemblers.py" ]
from typing import List import typing import graphx from typing import List from graphx . core . entities import Node , Edge from graphx . core . rest . schemas import Node as NodeResource from graphx . core . rest . schemas import Edge as EdgeResource class NodeAssembler ( object ) : @ staticmethod def assemble_collection ( nodes ) : return [ NodeResource . from_domain_object ( node ) for node in nodes ] class EdgeAssembler ( object ) : @ staticmethod def assemble_collection ( edges ) : return [ EdgeResource . from_domain_object ( edge ) for edge in edges ]
What is the type of variable edges?
typing.List[graphx.core.entities.Edge]
190
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/rest/registry.py" ]
from typing import Container , Any import registry import typing from graphx . configurations . app import settings from graphx . core . rest . definitions import NodeConfigurator from graphx . core . rest . resources import NodeCollection , EdgeCollection from registry . services import BootableService , Container class NodeService ( BootableService ) : def boot ( self , container ) : falcon = container . get ( settings . Props . FALCON ) provider = container . get ( settings . Props . DI_PROVIDER ) provider . add_configurator ( NodeConfigurator ) injector = provider . get_injector ( ) falcon . add_route ( [string] , injector . get ( NodeCollection ) ) falcon . add_route ( [string] , injector . get ( EdgeCollection ) )
What is the type of variable container?
registry.services.Container
226
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/rest/registry.py" ]
from typing import Container , Any import registry import typing from graphx . configurations . app import settings from graphx . core . rest . definitions import NodeConfigurator from graphx . core . rest . resources import NodeCollection , EdgeCollection from registry . services import BootableService , Container class NodeService ( BootableService ) : def boot ( self , container ) : falcon = container . get ( settings . Props . FALCON ) provider = container . get ( settings . Props . DI_PROVIDER ) provider . add_configurator ( NodeConfigurator ) injector = provider . get_injector ( ) falcon . add_route ( [string] , injector . get ( NodeCollection ) ) falcon . add_route ( [string] , injector . get ( EdgeCollection ) )
What is the type of variable falcon?
typing.Any
226
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/rest/registry.py" ]
from typing import Container , Any import registry import typing from graphx . configurations . app import settings from graphx . core . rest . definitions import NodeConfigurator from graphx . core . rest . resources import NodeCollection , EdgeCollection from registry . services import BootableService , Container class NodeService ( BootableService ) : def boot ( self , container ) : falcon = container . get ( settings . Props . FALCON ) provider = container . get ( settings . Props . DI_PROVIDER ) provider . add_configurator ( NodeConfigurator ) injector = provider . get_injector ( ) falcon . add_route ( [string] , injector . get ( NodeCollection ) ) falcon . add_route ( [string] , injector . get ( EdgeCollection ) )
What is the type of variable provider?
typing.Any
225
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/rest/registry.py" ]
from typing import Container , Any import registry import typing from graphx . configurations . app import settings from graphx . core . rest . definitions import NodeConfigurator from graphx . core . rest . resources import NodeCollection , EdgeCollection from registry . services import BootableService , Container class NodeService ( BootableService ) : def boot ( self , container ) : falcon = container . get ( settings . Props . FALCON ) provider = container . get ( settings . Props . DI_PROVIDER ) provider . add_configurator ( NodeConfigurator ) injector = provider . get_injector ( ) falcon . add_route ( [string] , injector . get ( NodeCollection ) ) falcon . add_route ( [string] , injector . get ( EdgeCollection ) )
What is the type of variable injector?
typing.Any
225
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable save?
None
228
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable node?
N
228
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable find_all_nodes?
typing.List[N]
233
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable add_edge?
None
229
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable edge?
E
228
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable find_by_id?
N
230
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable id?
builtins.str
230
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable find_shortest_path?
typing.Any
232
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable source?
N
228
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/data_providers/data_provider.py" ]
from typing import List , TypeVar , Any import typing import builtins from abc import ABCMeta , abstractmethod from typing import Generic , TypeVar , Any , List N = TypeVar ( [string] ) E = TypeVar ( [string] ) class DataProvider ( Generic [ N , E ] , metaclass = ABCMeta ) : @ abstractmethod def save ( self , node ) : [docstring] pass @ abstractmethod def find_all_nodes ( self ) : [docstring] pass @ abstractmethod def add_edge ( self , edge ) : [docstring] pass @ abstractmethod def find_by_id ( self , id ) : [docstring] pass @ abstractmethod def find_shortest_path ( self , source , destination ) : [docstring]
What is the type of variable destination?
N
228
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_node.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_edge.py" ]
import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class AddNode : repository = ... def execute ( self , node ) : self . repository . save ( node ) import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import MemoryNodeRepository from graphx . core . entities import Edge @ inject @ dataclass class AddEdge : repository = ... def execute ( self , edge ) : [comment] self . repository . add_edge ( edge )
What is the type of variable repository?
graphx.core.data_providers.memory.MemoryNodeRepository
204
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_node.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_edge.py" ]
import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class AddNode : repository = ... def execute ( self , node ) : self . repository . save ( node ) import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import MemoryNodeRepository from graphx . core . entities import Edge @ inject @ dataclass class AddEdge : repository = ... def execute ( self , edge ) : [comment] self . repository . add_edge ( edge )
What is the type of variable node?
graphx.core.data_providers.memory.Node
202
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_node.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_edge.py" ]
import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class AddNode : repository = ... def execute ( self , node ) : self . repository . save ( node ) import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import MemoryNodeRepository from graphx . core . entities import Edge @ inject @ dataclass class AddEdge : repository = ... def execute ( self , edge ) : [comment] self . repository . add_edge ( edge )
What is the type of variable repository?
graphx.core.data_providers.memory.MemoryNodeRepository
204
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_node.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/add_edge.py" ]
import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class AddNode : repository = ... def execute ( self , node ) : self . repository . save ( node ) import graphx from dataclasses import dataclass from injector import inject from graphx . core . data_providers . memory import MemoryNodeRepository from graphx . core . entities import Edge @ inject @ dataclass class AddEdge : repository = ... def execute ( self , edge ) : [comment] self . repository . add_edge ( edge )
What is the type of variable edge?
graphx.core.entities.Edge
200
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_nodes.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_edges.py" ]
from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class FindAllNodes : repository = ... def execute ( self ) : return self . repository . find_all_nodes ( ) from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Edge , MemoryNodeRepository @ inject @ dataclass class FindAllEdges : repository = ... def execute ( self ) : return self . repository . find_all_edges ( )
What is the type of variable repository?
graphx.core.data_providers.memory.MemoryNodeRepository
219
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_nodes.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_edges.py" ]
from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class FindAllNodes : repository = ... def execute ( self ) : return self . repository . find_all_nodes ( ) from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Edge , MemoryNodeRepository @ inject @ dataclass class FindAllEdges : repository = ... def execute ( self ) : return self . repository . find_all_edges ( )
What is the type of variable execute?
typing.List[graphx.core.data_providers.memory.Node]
221
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_nodes.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_edges.py" ]
from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class FindAllNodes : repository = ... def execute ( self ) : return self . repository . find_all_nodes ( ) from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Edge , MemoryNodeRepository @ inject @ dataclass class FindAllEdges : repository = ... def execute ( self ) : return self . repository . find_all_edges ( )
What is the type of variable repository?
graphx.core.data_providers.memory.MemoryNodeRepository
219
0mars/graphx
[ "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_nodes.py", "repos/0mars/graphx/packages/graphx/src/graphx/core/use_cases/find_all_edges.py" ]
from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Node , MemoryNodeRepository @ inject @ dataclass class FindAllNodes : repository = ... def execute ( self ) : return self . repository . find_all_nodes ( ) from typing import List import typing import graphx from dataclasses import dataclass from typing import List from injector import inject from graphx . core . data_providers . memory import Edge , MemoryNodeRepository @ inject @ dataclass class FindAllEdges : repository = ... def execute ( self ) : return self . repository . find_all_edges ( )
What is the type of variable execute?
typing.List[graphx.core.data_providers.memory.Edge]
222
0mars/monoskel
[ "repos/0mars/monoskel/packages/injector_provider/tests/test_injector_provider.py" ]
from typing import Any import typing import packages from unittest . mock import patch from injector import Injector , Module from injector_provider . providers import InjectorProvider class TestObjectGraphBuilder : def test_can_build_without_any_configurations ( self ) : provider = InjectorProvider ( ) assert isinstance ( provider . get_injector ( ) , Injector ) @ patch ( [string] ) def test_add_class ( self , mocked_injector_init ) : mocked_injector_init . return_value = None provider = InjectorProvider ( ) class Configurator ( Module ) : pass configurator1 = Configurator ( ) provider . add_configurator ( configurator1 ) provider . get_injector ( ) mocked_injector_init . assert_called_once_with ( [ configurator1 ] )
What is the type of variable provider?
typing.Any
226
0mars/monoskel
[ "repos/0mars/monoskel/packages/injector_provider/tests/test_injector_provider.py" ]
from typing import Any import typing import packages from unittest . mock import patch from injector import Injector , Module from injector_provider . providers import InjectorProvider class TestObjectGraphBuilder : def test_can_build_without_any_configurations ( self ) : provider = InjectorProvider ( ) assert isinstance ( provider . get_injector ( ) , Injector ) @ patch ( [string] ) def test_add_class ( self , mocked_injector_init ) : mocked_injector_init . return_value = None provider = InjectorProvider ( ) class Configurator ( Module ) : pass configurator1 = Configurator ( ) provider . add_configurator ( configurator1 ) provider . get_injector ( ) mocked_injector_init . assert_called_once_with ( [ configurator1 ] )
What is the type of variable configurator1?
packages.injector_provider.tests.test_injector_provider.TestObjectGraphBuilder.test_add_class.Configurator
245
0mars/monoskel
[ "repos/0mars/monoskel/packages/injector_provider/src/injector_provider/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string]
What is the type of variable version_info?
typing.List[builtins.int]
90
0mars/monoskel
[ "repos/0mars/monoskel/packages/injector_provider/src/injector_provider/_version.py" ]
from typing import List import typing version_info = [ [number] , [number] , [number] ] __version__ = [string]
What is the type of variable __version__?
builtins.str
87
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
18