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 |
|---|---|---|---|---|---|
0mars/monoskel | [
"repos/0mars/monoskel/packages/monomanage/src/monomanage/_version.py",
"repos/0mars/monoskel/packages/monomanage/src/monomanage/_install_requires.py"
] | from typing import List , Union
import typing
version_info = [ [number] , [number] , [number] , [string] ]
__version__ = [string]
from typing import List
import typing
install_requires = [ [string] , [string] , [string] ]
| What is the type of variable version_info? | typing.List[typing.Union[builtins.int,builtins.str]] | 129 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/monomanage/src/monomanage/_version.py",
"repos/0mars/monoskel/packages/monomanage/src/monomanage/_install_requires.py"
] | from typing import List , Union
import typing
version_info = [ [number] , [number] , [number] , [string] ]
__version__ = [string]
from typing import List
import typing
install_requires = [ [string] , [string] , [string] ]
| What is the type of variable __version__? | builtins.str | 118 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/monomanage/src/monomanage/_version.py",
"repos/0mars/monoskel/packages/monomanage/src/monomanage/_install_requires.py"
] | from typing import List , Union
import typing
version_info = [ [number] , [number] , [number] , [string] ]
__version__ = [string]
from typing import List
import typing
install_requires = [ [string] , [string] , [string] ]
| What is the type of variable install_requires? | typing.List[builtins.str] | 121 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/_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/meerkat/src/meerkat/_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/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/data_providers/database/mongo/transformers.py"
] | from typing import Any
import typing
import meerkat
from meerkat . data_providers . database . mongo . documents import PostDocument
from meerkat . domain . post . entities import Post
from meerkat . domain . post . value_objects import Id , Title , Body
class PostDocumentTransformer :
def transform_to_documen... | What is the type of variable transform_to_domain_object? | meerkat.domain.post.entities.Post | 232 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/data_providers/database/mongo/transformers.py"
] | from typing import Any
import typing
import meerkat
from meerkat . data_providers . database . mongo . documents import PostDocument
from meerkat . domain . post . entities import Post
from meerkat . domain . post . value_objects import Id , Title , Body
class PostDocumentTransformer :
def transform_to_documen... | What is the type of variable post? | typing.Any | 224 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/data_providers/database/mongo/documents.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/events/post_created.py"
] | from typing import Type
import typing
import packages
from mongoengine import Document
from mongoengine . fields import StringField , UUIDField , BooleanField
class PostDocument ( Document ) :
id = UUIDField ( binary = False , primary_key = True )
title = StringField ( max_length = [number] , required = True )... | What is the type of variable id? | typing.Type[packages.meerkat.src.meerkat.data_providers.database.mongo.documents.PostDocument] | 212 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/data_providers/database/mongo/documents.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/events/post_created.py"
] | from typing import Type
import typing
import packages
from mongoengine import Document
from mongoengine . fields import StringField , UUIDField , BooleanField
class PostDocument ( Document ) :
id = UUIDField ( binary = False , primary_key = True )
title = StringField ( max_length = [number] , required = True )... | What is the type of variable title? | typing.Type[packages.meerkat.src.meerkat.data_providers.database.mongo.documents.PostDocument] | 212 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/data_providers/database/mongo/documents.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/events/post_created.py"
] | from typing import Type
import typing
import packages
from mongoengine import Document
from mongoengine . fields import StringField , UUIDField , BooleanField
class PostDocument ( Document ) :
id = UUIDField ( binary = False , primary_key = True )
title = StringField ( max_length = [number] , required = True )... | What is the type of variable body? | typing.Type[packages.meerkat.src.meerkat.data_providers.database.mongo.documents.PostDocument] | 212 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/data_providers/database/mongo/documents.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/events/post_created.py"
] | from typing import Type
import typing
import packages
from mongoengine import Document
from mongoengine . fields import StringField , UUIDField , BooleanField
class PostDocument ( Document ) :
id = UUIDField ( binary = False , primary_key = True )
title = StringField ( max_length = [number] , required = True )... | What is the type of variable published? | typing.Type[packages.meerkat.src.meerkat.data_providers.database.mongo.documents.PostDocument] | 212 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/data_providers/database/mongo/documents.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/events/post_created.py"
] | from typing import Type
import typing
import packages
from mongoengine import Document
from mongoengine . fields import StringField , UUIDField , BooleanField
class PostDocument ( Document ) :
id = UUIDField ( binary = False , primary_key = True )
title = StringField ( max_length = [number] , required = True )... | What is the type of variable post? | meerkat.domain.post.entities.post.Post | 200 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/events/post_published.py"
] | from dataclasses import dataclass
from buslane . events import Event
from meerkat . domain . post . entities . post import Post
@ dataclass ( frozen = True ) class PostPublished ( Event ) :
post = ...
| What is the type of variable post? | meerkat.domain.post.entities.post.Post | 107 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/entities/post.py"
] | import builtins
import packages
import meerkat
from meerkat . domain . post . entities . exceptions import PublishingFailedException
from meerkat . domain . post . value_objects import Title , Body , Id
class Post :
id = ...
title = ...
body = ...
published = False
@ staticmethod def create ( id , title , ... | What is the type of variable id? | meerkat.domain.post.value_objects.Id | 240 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/entities/post.py"
] | import builtins
import packages
import meerkat
from meerkat . domain . post . entities . exceptions import PublishingFailedException
from meerkat . domain . post . value_objects import Title , Body , Id
class Post :
id = ...
title = ...
body = ...
published = False
@ staticmethod def create ( id , title , ... | What is the type of variable title? | meerkat.domain.post.value_objects.Title | 240 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/entities/post.py"
] | import builtins
import packages
import meerkat
from meerkat . domain . post . entities . exceptions import PublishingFailedException
from meerkat . domain . post . value_objects import Title , Body , Id
class Post :
id = ...
title = ...
body = ...
published = False
@ staticmethod def create ( id , title , ... | What is the type of variable body? | meerkat.domain.post.value_objects.Body | 240 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/entities/post.py"
] | import builtins
import packages
import meerkat
from meerkat . domain . post . entities . exceptions import PublishingFailedException
from meerkat . domain . post . value_objects import Title , Body , Id
class Post :
id = ...
title = ...
body = ...
published = False
@ staticmethod def create ( id , title , ... | What is the type of variable published? | builtins.bool | 235 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/entities/post.py"
] | import builtins
import packages
import meerkat
from meerkat . domain . post . entities . exceptions import PublishingFailedException
from meerkat . domain . post . value_objects import Title , Body , Id
class Post :
id = ...
title = ...
body = ...
published = False
@ staticmethod def create ( id , title , ... | What is the type of variable instance? | packages.meerkat.src.meerkat.domain.post.entities.post.Post | 245 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/entities/post.py"
] | import builtins
import packages
import meerkat
from meerkat . domain . post . entities . exceptions import PublishingFailedException
from meerkat . domain . post . value_objects import Title , Body , Id
class Post :
id = ...
title = ...
body = ...
published = False
@ staticmethod def create ( id , title , ... | What is the type of variable is_published? | builtins.bool | 236 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/data_providers/__init__.py"
] | import meerkat
import abc
from meerkat . domain . post . entities . post import Post
from meerkat . domain . post . value_objects import Id
class PostDataProvider ( metaclass = abc . ABCMeta ) :
@ abc . abstractmethod def save ( self , post ) :
[docstring]
pass
@ abc . abstractmethod def get ( self , id ) :... | What is the type of variable post? | meerkat.domain.post.entities.post.Post | 150 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/data_providers/__init__.py"
] | import meerkat
import abc
from meerkat . domain . post . entities . post import Post
from meerkat . domain . post . value_objects import Id
class PostDataProvider ( metaclass = abc . ABCMeta ) :
@ abc . abstractmethod def save ( self , post ) :
[docstring]
pass
@ abc . abstractmethod def get ( self , id ) :... | What is the type of variable get? | meerkat.domain.post.entities.post.Post | 150 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/data_providers/__init__.py"
] | import meerkat
import abc
from meerkat . domain . post . entities . post import Post
from meerkat . domain . post . value_objects import Id
class PostDataProvider ( metaclass = abc . ABCMeta ) :
@ abc . abstractmethod def save ( self , post ) :
[docstring]
pass
@ abc . abstractmethod def get ( self , id ) :... | What is the type of variable id? | meerkat.domain.post.value_objects.Id | 150 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/use_cases/publish_post.py"
] | from typing import Any
import typing
import meerkat
import buslane
from buslane . events import EventBus
from dataclasses import dataclass
from meerkat . domain . post . data_providers import PostDataProvider
from meerkat . domain . post . events import PostPublished
from meerkat . domain . post . value_object... | What is the type of variable id? | meerkat.domain.post.value_objects.Id | 242 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/use_cases/publish_post.py"
] | from typing import Any
import typing
import meerkat
import buslane
from buslane . events import EventBus
from dataclasses import dataclass
from meerkat . domain . post . data_providers import PostDataProvider
from meerkat . domain . post . events import PostPublished
from meerkat . domain . post . value_object... | What is the type of variable exec? | None | 235 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/use_cases/publish_post.py"
] | from typing import Any
import typing
import meerkat
import buslane
from buslane . events import EventBus
from dataclasses import dataclass
from meerkat . domain . post . data_providers import PostDataProvider
from meerkat . domain . post . events import PostPublished
from meerkat . domain . post . value_object... | What is the type of variable command? | PublishPostCommand | 237 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/use_cases/publish_post.py"
] | from typing import Any
import typing
import meerkat
import buslane
from buslane . events import EventBus
from dataclasses import dataclass
from meerkat . domain . post . data_providers import PostDataProvider
from meerkat . domain . post . events import PostPublished
from meerkat . domain . post . value_object... | What is the type of variable post? | typing.Any | 236 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/value_objects/title.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/value_objects/body.py"
] | class Title :
value = ...
def __init__ ( self , value ) :
self . value = value
def is_valid ( self ) :
return len ( self . value ) > [number]
def __str__ ( self ) :
return self . value
from dataclasses import dataclass
@ dataclass ( frozen = True ) class Body :
value = ...
def is_valid ( self ) :
ret... | What is the type of variable value? | builtins.str | 168 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/value_objects/title.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/value_objects/body.py"
] | class Title :
value = ...
def __init__ ( self , value ) :
self . value = value
def is_valid ( self ) :
return len ( self . value ) > [number]
def __str__ ( self ) :
return self . value
from dataclasses import dataclass
@ dataclass ( frozen = True ) class Body :
value = ...
def is_valid ( self ) :
ret... | What is the type of variable value? | builtins.str | 168 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/domain/post/value_objects/id.py"
] | import uuid
from uuid import UUID
class Id :
value = ...
def __init__ ( self , value ) :
self . value = value
def is_valid ( self ) :
return len ( str ( self ) ) > [number]
def __str__ ( self ) :
return str ( self . value )
| What is the type of variable value? | uuid.UUID | 122 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/schemas.py"
] | import marshmallow
import packages
import meerkat
from marshmallow import fields , Schema
from meerkat . domain . post . entities import Post
class PostSchema ( Schema ) :
class Meta :
ordered = True
id = fields . Str ( )
title = fields . Str ( required = True )
body = fields . Str ( required = True )
@... | What is the type of variable ordered? | builtins.bool | 232 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/schemas.py"
] | import marshmallow
import packages
import meerkat
from marshmallow import fields , Schema
from meerkat . domain . post . entities import Post
class PostSchema ( Schema ) :
class Meta :
ordered = True
id = fields . Str ( )
title = fields . Str ( required = True )
body = fields . Str ( required = True )
@... | What is the type of variable id? | marshmallow.fields.Str | 233 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/schemas.py"
] | import marshmallow
import packages
import meerkat
from marshmallow import fields , Schema
from meerkat . domain . post . entities import Post
class PostSchema ( Schema ) :
class Meta :
ordered = True
id = fields . Str ( )
title = fields . Str ( required = True )
body = fields . Str ( required = True )
@... | What is the type of variable title? | marshmallow.fields.Str | 233 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/schemas.py"
] | import marshmallow
import packages
import meerkat
from marshmallow import fields , Schema
from meerkat . domain . post . entities import Post
class PostSchema ( Schema ) :
class Meta :
ordered = True
id = fields . Str ( )
title = fields . Str ( required = True )
body = fields . Str ( required = True )
@... | What is the type of variable body? | marshmallow.fields.Str | 233 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/schemas.py"
] | import marshmallow
import packages
import meerkat
from marshmallow import fields , Schema
from meerkat . domain . post . entities import Post
class PostSchema ( Schema ) :
class Meta :
ordered = True
id = fields . Str ( )
title = fields . Str ( required = True )
body = fields . Str ( required = True )
@... | What is the type of variable post? | meerkat.domain.post.entities.Post | 236 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/schemas.py"
] | import marshmallow
import packages
import meerkat
from marshmallow import fields , Schema
from meerkat . domain . post . entities import Post
class PostSchema ( Schema ) :
class Meta :
ordered = True
id = fields . Str ( )
title = fields . Str ( required = True )
body = fields . Str ( required = True )
@... | What is the type of variable object? | packages.meerkat.src.meerkat.entrypoints.rest.post.schemas.PostSchema | 245 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/registry.py"
] | from typing import Any , Container
import registry
import typing
from meerkat . configurations . app import settings
from meerkat . entrypoints . rest . post . definitions import PostConfigurator
from meerkat . entrypoints . rest . post . resources import PostCollection , Post
from registry . services import Boot... | What is the type of variable provider? | typing.Any | 256 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/registry.py"
] | from typing import Any , Container
import registry
import typing
from meerkat . configurations . app import settings
from meerkat . entrypoints . rest . post . definitions import PostConfigurator
from meerkat . entrypoints . rest . post . resources import PostCollection , Post
from registry . services import Boot... | What is the type of variable injector? | typing.Any | 256 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/definitions.py"
] | import meerkat
from injector import singleton , provider , Module
from meerkat . domain . post . use_cases import AddNewPostUseCase , PublishPostUseCase
from meerkat . entrypoints . rest . post . resources import PostCollection , Post
class PostConfigurator ( Module ) :
@ singleton @ provider def post_collectio... | What is the type of variable post_collection? | meerkat.entrypoints.rest.post.resources.PostCollection | 189 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/entrypoints/rest/post/definitions.py"
] | import meerkat
from injector import singleton , provider , Module
from meerkat . domain . post . use_cases import AddNewPostUseCase , PublishPostUseCase
from meerkat . entrypoints . rest . post . resources import PostCollection , Post
class PostConfigurator ( Module ) :
@ singleton @ provider def post_collectio... | What is the type of variable post_item? | meerkat.entrypoints.rest.post.resources.Post | 188 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/app/main.py"
] | from typing import Any
import typing
import falcon
from meerkat . configurations . app import settings
from falcon_marshmallow import JSONEnforcer , EmptyRequestDropper
from meerkat . configurations . app . middlewares import RequestLoader
from injector_provider import InjectorProvider
from registry . services ... | What is the type of variable app? | typing.Any | 222 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/app/main.py"
] | from typing import Any
import typing
import falcon
from meerkat . configurations . app import settings
from falcon_marshmallow import JSONEnforcer , EmptyRequestDropper
from meerkat . configurations . app . middlewares import RequestLoader
from injector_provider import InjectorProvider
from registry . services ... | What is the type of variable container? | typing.Any | 222 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/app/main.py"
] | from typing import Any
import typing
import falcon
from meerkat . configurations . app import settings
from falcon_marshmallow import JSONEnforcer , EmptyRequestDropper
from meerkat . configurations . app . middlewares import RequestLoader
from injector_provider import InjectorProvider
from registry . services ... | What is the type of variable service_registry? | typing.Any | 223 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/rest/health/definitions.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/rest/health/__init__.py"
] | import meerkat
from injector import Module , singleton , provider
from meerkat . configurations . infrastructure . rest . health import HealthCheck
class HealthConfigurator ( Module ) :
@ singleton @ provider def provide_health_check_resource ( self ) :
return HealthCheck ( )
import marshmallow
import falcon... | What is the type of variable provide_health_check_resource? | meerkat.configurations.infrastructure.rest.health.HealthCheck | 239 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/rest/health/definitions.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/rest/health/__init__.py"
] | import meerkat
from injector import Module , singleton , provider
from meerkat . configurations . infrastructure . rest . health import HealthCheck
class HealthConfigurator ( Module ) :
@ singleton @ provider def provide_health_check_resource ( self ) :
return HealthCheck ( )
import marshmallow
import falcon... | What is the type of variable status? | marshmallow.fields.Str | 229 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/rest/health/definitions.py",
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/rest/health/__init__.py"
] | import meerkat
from injector import Module , singleton , provider
from meerkat . configurations . infrastructure . rest . health import HealthCheck
class HealthConfigurator ( Module ) :
@ singleton @ provider def provide_health_check_resource ( self ) :
return HealthCheck ( )
import marshmallow
import falcon... | What is the type of variable message? | marshmallow.fields.Str | 229 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/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 meerkat . configurations . app . settings import Props
container . set ( Props . APP_URL , os . environ . get... | What is the type of variable container? | registry.services.Container | 208 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/db/__init__.py"
] | from typing import Any , Container
import registry
import typing
from registry . services import BootableService , Container
from mongoengine import connect
class DataBaseService ( BootableService ) :
def boot ( self , container ) :
from meerkat . configurations . app . settings import Props
host = containe... | What is the type of variable container? | registry.services.Container | 169 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/db/__init__.py"
] | from typing import Any , Container
import registry
import typing
from registry . services import BootableService , Container
from mongoengine import connect
class DataBaseService ( BootableService ) :
def boot ( self , container ) :
from meerkat . configurations . app . settings import Props
host = containe... | What is the type of variable host? | typing.Any | 168 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/db/__init__.py"
] | from typing import Any , Container
import registry
import typing
from registry . services import BootableService , Container
from mongoengine import connect
class DataBaseService ( BootableService ) :
def boot ( self , container ) :
from meerkat . configurations . app . settings import Props
host = containe... | What is the type of variable port? | builtins.int | 169 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/db/__init__.py"
] | from typing import Any , Container
import registry
import typing
from registry . services import BootableService , Container
from mongoengine import connect
class DataBaseService ( BootableService ) :
def boot ( self , container ) :
from meerkat . configurations . app . settings import Props
host = containe... | What is the type of variable db? | typing.Any | 168 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/di/domain.py"
] | import meerkat
from buslane . events import EventBus
from injector import singleton , provider , Module
from meerkat . data_providers . database . mongo import PostMongoRepository
from meerkat . domain . post . use_cases import AddNewPostUseCase , PublishPostUseCase
class UseCasesConfigurator ( Module ) :
@ si... | What is the type of variable add_new? | meerkat.domain.post.use_cases.AddNewPostUseCase | 224 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/di/domain.py"
] | import meerkat
from buslane . events import EventBus
from injector import singleton , provider , Module
from meerkat . data_providers . database . mongo import PostMongoRepository
from meerkat . domain . post . use_cases import AddNewPostUseCase , PublishPostUseCase
class UseCasesConfigurator ( Module ) :
@ si... | What is the type of variable publish? | meerkat.domain.post.use_cases.PublishPostUseCase | 222 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/di/service.py"
] | from typing import Any , Container
import registry
import typing
from meerkat . configurations . app import settings
from meerkat . configurations . infrastructure . di . domain import UseCasesConfigurator
from registry . services import BootableService , Container
class DiService ( BootableService ) :
def boo... | What is the type of variable container? | registry.services.Container | 150 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/meerkat/src/meerkat/configurations/infrastructure/di/service.py"
] | from typing import Any , Container
import registry
import typing
from meerkat . configurations . app import settings
from meerkat . configurations . infrastructure . di . domain import UseCasesConfigurator
from registry . services import BootableService , Container
class DiService ( BootableService ) :
def boo... | What is the type of variable provider? | typing.Any | 149 |
0mars/monoskel | [
"repos/0mars/monoskel/packages/registry/src/registry/_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/registry/src/registry/_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 |
1098994933/python | [
"repos/1098994933/python/sorts/selection_sort.py"
] | from typing import List
import typing
[docstring]
def selection_sort ( collection ) :
[docstring]
length = len ( collection )
for i in range ( length - [number] ) :
least = i
for k in range ( i + [number] , length ) :
if collection [ k ] < collection [ least ] :
least = k
collection [ least ] , collection [... | What is the type of variable user_input? | builtins.str | 215 |
1098994933/python | [
"repos/1098994933/python/sorts/selection_sort.py"
] | from typing import List
import typing
[docstring]
def selection_sort ( collection ) :
[docstring]
length = len ( collection )
for i in range ( length - [number] ) :
least = i
for k in range ( i + [number] , length ) :
if collection [ k ] < collection [ least ] :
least = k
collection [ least ] , collection [... | What is the type of variable unsorted? | typing.List[builtins.int] | 219 |
1098994933/python | [
"repos/1098994933/python/sorts/quick_sort.py"
] | from typing import Any , List
import typing
[docstring]
def quick_sort ( collection ) :
[docstring]
length = len ( collection )
if length <= [number] :
return collection
else :
[comment]
pivot = collection . pop ( )
[comment]
[comment]
greater , lesser = [ ] , [ ]
for element in collection :
if element >... | What is the type of variable user_input? | builtins.str | 235 |
1098994933/python | [
"repos/1098994933/python/sorts/quick_sort.py"
] | from typing import Any , List
import typing
[docstring]
def quick_sort ( collection ) :
[docstring]
length = len ( collection )
if length <= [number] :
return collection
else :
[comment]
pivot = collection . pop ( )
[comment]
[comment]
greater , lesser = [ ] , [ ]
for element in collection :
if element >... | What is the type of variable unsorted? | typing.List[builtins.int] | 239 |
1098994933/python | [
"repos/1098994933/python/project_euler/problem_56/sol1.py"
] |
import builtins
def maximum_digital_sum ( a , b ) :
[docstring]
[comment]
return max ( [ sum ( [ int ( x ) for x in str ( base ** power ) ] ) for base in range ( a ) for power in range ( b ) ] )
[comment]
if __name__ == [string] :
import doctest
doctest . testmod ( )
| What is the type of variable maximum_digital_sum? | builtins.int | 145 |
1098994933/python | [
"repos/1098994933/python/dynamic_programming/factorial.py"
] | [comment]
from typing import List
import typing
result = [ - [number] ] * [number]
result [ [number] ] = result [ [number] ] = [number]
def factorial ( num ) :
[docstring]
if num < [number] :
return [string]
if result [ num ] != - [number] :
return result [ num ]
else :
result [ num ] = num * factorial ( n... | What is the type of variable result? | typing.List[builtins.int] | 225 |
1098994933/python | [
"repos/1098994933/python/maths/is_square_free.py"
] | from typing import List
import typing
import builtins
[docstring]
from typing import List
def is_square_free ( factors ) :
[docstring]
return len ( set ( factors ) ) == len ( factors )
if __name__ == [string] :
import doctest
doctest . testmod ( )
| What is the type of variable is_square_free? | builtins.bool | 126 |
1098994933/python | [
"repos/1098994933/python/maths/factorial_python.py"
] | [docstring]
[comment]
NUM = [number]
[comment]
[comment]
FACTORIAL = [number]
[comment]
if NUM < [number] :
print ( [string] )
elif NUM == [number] :
print ( [string] )
else :
for i in range ( [number] , NUM + [number] ) :
FACTORIAL = FACTORIAL * i
print ( [string] , NUM , [string] , FACTORIAL )
| What is the type of variable NUM? | builtins.int | 164 |
1098994933/python | [
"repos/1098994933/python/maths/factorial_python.py"
] | [docstring]
[comment]
NUM = [number]
[comment]
[comment]
FACTORIAL = [number]
[comment]
if NUM < [number] :
print ( [string] )
elif NUM == [number] :
print ( [string] )
else :
for i in range ( [number] , NUM + [number] ) :
FACTORIAL = FACTORIAL * i
print ( [string] , NUM , [string] , FACTORIAL )
| What is the type of variable FACTORIAL? | builtins.int | 166 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable _token? | builtins.str | 244 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable __pushbullet? | typing.Optional[PushBullet.pushbullet.Pushbullet] | 252 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable pushbullet? | PushBullet.pushbullet.Pushbullet | 247 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable __init__? | None | 243 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable settings? | django.conf.LazySettings | 245 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable push_note? | typing.Any | 243 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable body? | builtins.str | 243 |
10sr/trigger | [
"repos/10sr/trigger/trigger/pushbullet.py"
] | from typing import Optional , Any
import typing
import builtins
import pushbullet
import django
from typing import Any , Optional
import pushbullet as pb
from django . conf import LazySettings
class PushBullet :
_token = ...
__pushbullet = None
@ property def pushbullet ( self ) :
if self . __pushbulle... | What is the type of variable title? | builtins.str | 243 |
10sr/trigger | [
"repos/10sr/trigger/trigger/urls.py"
] | from typing import List , Any
import typing
from django . urls import path
from django . views . generic . base import RedirectView
from . import views
app_name = [string]
urlpatterns = [ path ( [string] , views . index , name = [string] ) , path ( [string] , RedirectView . as_view ( url = [string] ) , name = [... | What is the type of variable app_name? | builtins.str | 181 |
10sr/trigger | [
"repos/10sr/trigger/trigger/urls.py"
] | from typing import List , Any
import typing
from django . urls import path
from django . views . generic . base import RedirectView
from . import views
app_name = [string]
urlpatterns = [ path ( [string] , views . index , name = [string] ) , path ( [string] , RedirectView . as_view ( url = [string] ) , name = [... | What is the type of variable urlpatterns? | typing.List[typing.Any] | 183 |
10sr/trigger | [
"repos/10sr/trigger/trigger/apps.py",
"repos/10sr/trigger/tests/settings.py",
"repos/10sr/trigger/tests/tests.py"
] | from django . apps import AppConfig
class TriggerConfig ( AppConfig ) : [comment]
name = [string]
label = [string]
from proj . settings import *
SECRET_KEY = [string]
[comment]
import unittest
from django . utils import timezone
from django . test import TestCase
from django . urls import reverse
from... | What is the type of variable name? | builtins.str | 169 |
10sr/trigger | [
"repos/10sr/trigger/trigger/apps.py",
"repos/10sr/trigger/tests/settings.py",
"repos/10sr/trigger/tests/tests.py"
] | from django . apps import AppConfig
class TriggerConfig ( AppConfig ) : [comment]
name = [string]
label = [string]
from proj . settings import *
SECRET_KEY = [string]
[comment]
import unittest
from django . utils import timezone
from django . test import TestCase
from django . urls import reverse
from... | What is the type of variable label? | builtins.str | 169 |
10sr/trigger | [
"repos/10sr/trigger/trigger/apps.py",
"repos/10sr/trigger/tests/settings.py",
"repos/10sr/trigger/tests/tests.py"
] | from django . apps import AppConfig
class TriggerConfig ( AppConfig ) : [comment]
name = [string]
label = [string]
from proj . settings import *
SECRET_KEY = [string]
[comment]
import unittest
from django . utils import timezone
from django . test import TestCase
from django . urls import reverse
from... | What is the type of variable SECRET_KEY? | builtins.str | 170 |
10sr/trigger | [
"repos/10sr/trigger/trigger/apps.py",
"repos/10sr/trigger/tests/settings.py",
"repos/10sr/trigger/tests/tests.py"
] | from django . apps import AppConfig
class TriggerConfig ( AppConfig ) : [comment]
name = [string]
label = [string]
from proj . settings import *
SECRET_KEY = [string]
[comment]
import unittest
from django . utils import timezone
from django . test import TestCase
from django . urls import reverse
from... | What is the type of variable test_failure? | None | 168 |
10sr/trigger | [
"repos/10sr/trigger/proj/wsgi.py"
] | from typing import Any
import typing
[docstring]
import os
from django . core . wsgi import get_wsgi_application
os . environ . setdefault ( [string] , [string] )
application = get_wsgi_application ( )
| What is the type of variable application? | typing.Any | 105 |
10sr/trigger | [
"repos/10sr/trigger/proj/manageproj/apps.py"
] | import django . apps
class AppConfig ( django . apps . AppConfig ) : [comment]
name = [string]
lavel = [string]
| What is the type of variable name? | builtins.str | 84 |
10sr/trigger | [
"repos/10sr/trigger/proj/manageproj/apps.py"
] | import django . apps
class AppConfig ( django . apps . AppConfig ) : [comment]
name = [string]
lavel = [string]
| What is the type of variable lavel? | builtins.str | 85 |
10sr/webtools | [
"repos/10sr/webtools/manage.py",
"repos/10sr/webtools/export_as_bookmark/apps.py"
] | [comment]
[docstring]
import os
import sys
def main ( ) :
[docstring]
os . environ [ [string] ] = [string]
from django . core . management import execute_from_command_line
execute_from_command_line ( sys . argv )
return
if __name__ == [string] :
main ( )
[docstring]
from django . apps import AppConf... | What is the type of variable main? | None | 216 |
10sr/webtools | [
"repos/10sr/webtools/manage.py",
"repos/10sr/webtools/export_as_bookmark/apps.py"
] | [comment]
[docstring]
import os
import sys
def main ( ) :
[docstring]
os . environ [ [string] ] = [string]
from django . core . management import execute_from_command_line
execute_from_command_line ( sys . argv )
return
if __name__ == [string] :
main ( )
[docstring]
from django . apps import AppConf... | What is the type of variable name? | builtins.str | 218 |
10sr/webtools | [
"repos/10sr/webtools/manage.py",
"repos/10sr/webtools/export_as_bookmark/apps.py"
] | [comment]
[docstring]
import os
import sys
def main ( ) :
[docstring]
os . environ [ [string] ] = [string]
from django . core . management import execute_from_command_line
execute_from_command_line ( sys . argv )
return
if __name__ == [string] :
main ( )
[docstring]
from django . apps import AppConf... | What is the type of variable label? | builtins.str | 218 |
10sr/webtools | [
"repos/10sr/webtools/manage.py",
"repos/10sr/webtools/export_as_bookmark/apps.py"
] | [comment]
[docstring]
import os
import sys
def main ( ) :
[docstring]
os . environ [ [string] ] = [string]
from django . core . management import execute_from_command_line
execute_from_command_line ( sys . argv )
return
if __name__ == [string] :
main ( )
[docstring]
from django . apps import AppConf... | What is the type of variable ready? | None | 216 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/bookmark_exporter.py"
] | from typing import List
import typing
import builtins
[docstring]
from __future__ import annotations
import html
from typing import List
class BookmarkExporter :
[docstring]
_TEMPLATE = [string]
_TEMPLATE_A = [string]
urls = ...
def __init__ ( self , urls ) :
[docstring]
self . urls = list ( url... | What is the type of variable _TEMPLATE? | builtins.str | 256 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/bookmark_exporter.py"
] | from typing import List
import typing
import builtins
[docstring]
from __future__ import annotations
import html
from typing import List
class BookmarkExporter :
[docstring]
_TEMPLATE = [string]
_TEMPLATE_A = [string]
urls = ...
def __init__ ( self , urls ) :
[docstring]
self . urls = list ( url... | What is the type of variable urls? | builtins.str | 255 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/bookmark_exporter.py"
] | from typing import List
import typing
import builtins
[docstring]
from __future__ import annotations
import html
from typing import List
class BookmarkExporter :
[docstring]
_TEMPLATE = [string]
_TEMPLATE_A = [string]
urls = ...
def __init__ ( self , urls ) :
[docstring]
self . urls = list ( url... | What is the type of variable __init__? | None | 255 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/bookmark_exporter.py"
] | from typing import List
import typing
import builtins
[docstring]
from __future__ import annotations
import html
from typing import List
class BookmarkExporter :
[docstring]
_TEMPLATE = [string]
_TEMPLATE_A = [string]
urls = ...
def __init__ ( self , urls ) :
[docstring]
self . urls = list ( url... | What is the type of variable from_lines? | BookmarkExporter | 255 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/bookmark_exporter.py"
] | from typing import List
import typing
import builtins
[docstring]
from __future__ import annotations
import html
from typing import List
class BookmarkExporter :
[docstring]
_TEMPLATE = [string]
_TEMPLATE_A = [string]
urls = ...
def __init__ ( self , urls ) :
[docstring]
self . urls = list ( url... | What is the type of variable export? | builtins.str | 255 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/bookmark_exporter.py"
] | from typing import List
import typing
import builtins
[docstring]
from __future__ import annotations
import html
from typing import List
class BookmarkExporter :
[docstring]
_TEMPLATE = [string]
_TEMPLATE_A = [string]
urls = ...
def __init__ ( self , urls ) :
[docstring]
self . urls = list ( url... | What is the type of variable name? | builtins.str | 255 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/urls.py"
] | from typing import List , Any
import typing
[docstring]
from django . urls import path
from . import views
from . apps import ExportAsBookmarkConfig
app_name = ExportAsBookmarkConfig . label
urlpatterns = [ path ( [string] , views . index , name = [string] ) , path ( [string] , views . post , name = [string] ... | What is the type of variable app_name? | builtins.str | 172 |
10sr/webtools | [
"repos/10sr/webtools/export_as_bookmark/urls.py"
] | from typing import List , Any
import typing
[docstring]
from django . urls import path
from . import views
from . apps import ExportAsBookmarkConfig
app_name = ExportAsBookmarkConfig . label
urlpatterns = [ path ( [string] , views . index , name = [string] ) , path ( [string] , views . post , name = [string] ... | What is the type of variable urlpatterns? | typing.List[typing.Any] | 174 |
10sr/webtools | [
"repos/10sr/webtools/lggr/apps.py",
"repos/10sr/webtools/lggr/urls.py"
] | [docstring]
from django . apps import AppConfig
class LggrConfig ( AppConfig ) : [comment]
[docstring]
name = [string]
label = [string]
from typing import List , Any
import typing
[docstring]
from django . urls import path
from django . views . generic . base import RedirectView
from . import views ... | What is the type of variable name? | builtins.str | 208 |
10sr/webtools | [
"repos/10sr/webtools/lggr/apps.py",
"repos/10sr/webtools/lggr/urls.py"
] | [docstring]
from django . apps import AppConfig
class LggrConfig ( AppConfig ) : [comment]
[docstring]
name = [string]
label = [string]
from typing import List , Any
import typing
[docstring]
from django . urls import path
from django . views . generic . base import RedirectView
from . import views ... | What is the type of variable label? | builtins.str | 208 |
10sr/webtools | [
"repos/10sr/webtools/lggr/apps.py",
"repos/10sr/webtools/lggr/urls.py"
] | [docstring]
from django . apps import AppConfig
class LggrConfig ( AppConfig ) : [comment]
[docstring]
name = [string]
label = [string]
from typing import List , Any
import typing
[docstring]
from django . urls import path
from django . views . generic . base import RedirectView
from . import views ... | What is the type of variable app_name? | builtins.str | 209 |
10sr/webtools | [
"repos/10sr/webtools/lggr/apps.py",
"repos/10sr/webtools/lggr/urls.py"
] | [docstring]
from django . apps import AppConfig
class LggrConfig ( AppConfig ) : [comment]
[docstring]
name = [string]
label = [string]
from typing import List , Any
import typing
[docstring]
from django . urls import path
from django . views . generic . base import RedirectView
from . import views ... | What is the type of variable urlpatterns? | typing.List[typing.Any] | 211 |
10sr/webtools | [
"repos/10sr/webtools/tests/webtools/views.py"
] | from typing import Any
import typing
[docstring]
from django . test import TestCase
from django . urls import reverse
class ViewTests ( TestCase ) :
[docstring]
def _request_get ( self , name , reverse_args = None , * args , ** kargs ) :
return self . client . get ( reverse ( f" [string] { name }" , args = ... | What is the type of variable response? | typing.Any | 241 |
10sr/webtools | [
"repos/10sr/webtools/webtools/urls.py"
] | from typing import List , Any
import typing
[docstring]
from django . contrib import admin
from django . urls import include , path
from django . views . generic . base import RedirectView
_path = [string]
urlpatterns = [ path ( [string] , RedirectView . as_view ( url = f" [string] { _path } [string] " ) ) , p... | What is the type of variable _path? | builtins.str | 236 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.