repo_name stringlengths 9 76 | fname listlengths 1 253 | context stringlengths 377 218k | question stringlengths 31 67 | length int64 136 61.2k | answer stringlengths 4 1.29k | full_len int64 158 61k |
|---|---|---|---|---|---|---|
thebargaintenor/autocomplete-metadata | [
"repos/thebargaintenor/autocomplete-metadata/src/completion.py",
"repos/thebargaintenor/autocomplete-metadata/src/test_completion.py",
"repos/thebargaintenor/autocomplete-metadata/src/utilities/config.example.py",
"repos/thebargaintenor/autocomplete-metadata/src/utilities/create_metadata_json.py"
] | from typing import List , Type , Any , Optional
import typing
import src
import builtins
import attr
import json
import re
import sys
from typing import Optional
@ attr . s ( ) class Completion ( ) :
id = attr . ib ( type = str )
name = attr . ib ( type = str )
tokens = attr . ib ( type = list )
@ attr... | What is the type of variable fetch_clips_query? | 2,469 | sqlalchemy.orm.Query | 2,452 |
conanfanli/slotomania | [
"repos/conanfanli/slotomania/tests/test_core.py",
"repos/conanfanli/slotomania/tests/test_pyty.py",
"repos/conanfanli/slotomania/tests/phony/phony/wsgi.py",
"repos/conanfanli/slotomania/tests/phony/phony/urls.py",
"repos/conanfanli/slotomania/tests/phony/casino/admin.py",
"repos/conanfanli/slotomania/test... | from typing import List , Optional , Any
import tests
import typing
from dataclasses import asdict , dataclass , is_dataclass
import datetime
from enum import Enum
from typing import List , Optional
from unittest import TestCase
from pytypegen . contrib . contracts import AuthenticateUserRequest
from pytypege... | What is the type of variable rank? | 3,725 | builtins.int | 3,583 |
woocart/localizations | [
"repos/woocart/localizations/.circleci/wplang.py",
"repos/woocart/localizations/.circleci/csv2html.py"
] | from typing import List
import builtins
import typing
[docstring]
[comment]
[comment]
from typing import List
WPLANGS = [ [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [string] , [s... | What is the type of variable t? | 1,043 | builtins.str | 1,050 |
SmartManoj/CST3 | [
"repos/SmartManoj/CST3/Data/Packages/CodeFormatter/codeformatter/lib/scssbeautifier/css/__init__.py",
"repos/SmartManoj/CST3/Data/Packages/CodeFormatter/codeformatter/lib/coldfusionbeautifier/__version__.py",
"repos/SmartManoj/CST3/Data/Packages/CodeFormatter/codeformatter/lib/coldfusionbeautifier/__init__.py"
... | [comment]
repos/SmartManoj/CST3/Data/Packages/CodeFormatter/codeformatter/lib/coldfusionbeautifier/__version__.py
__version__ = [string]
repos/SmartManoj/CST3/Data/Packages/CodeFormatter/codeformatter/lib/coldfusionbeautifier/__init__.py
from typing import Any , Pattern , Optional , List , Iterator , Match
impor... | What is the type of variable indent_with_tabs? | 2,360 | builtins.bool | 2,380 |
monkut/kippo | [
"repos/monkut/kippo/kippo/projects/management/commands/load_from_db.py"
] | import builtins
from typing import Type , Tuple , Any , Dict
import kippo
import typing
[docstring]
from django . core . management . base import BaseCommand , CommandError
from django . utils . translation import ugettext as _
from django . conf import settings
import psycopg2
import psycopg2 . extras
from... | What is the type of variable existing_project? | 2,395 | None | 2,416 |
lidatong/dataclasses-json | [
"repos/lidatong/dataclasses-json/tests/test_enum.py",
"repos/lidatong/dataclasses-json/tests/hypothesis2/strategies.py",
"repos/lidatong/dataclasses-json/tests/hypothesis2/core.py",
"repos/lidatong/dataclasses-json/tests/hypothesis2/__init__.py",
"repos/lidatong/dataclasses-json/tests/test_annotations.py"
] | import builtins
from typing import Any
import typing
import tests
import json
from enum import Enum
from typing import Dict , List
import pytest
from dataclasses import dataclass
from dataclasses_json import dataclass_json
from marshmallow . exceptions import ValidationError
class MyEnum ( Enum ) :
STR... | What is the type of variable _path? | 2,693 | typing.Tuple[builtins.str,builtins.str] | 2,670 |
topher200/assertion-context | [
"repos/topher200/assertion-context/src/lib/traceback/traceback_formatter.py",
"repos/topher200/assertion-context/src/lib/traceback/test_assertion_regex.py",
"repos/topher200/assertion-context/src/lib/jira/jira_issue_db.py"
] | from typing import Set , Callable , List , Any , Optional
import logging
import builtins
import lib
import typing
from typing import Optional , Callable , Set
import logging
from common_util import ( config_util , )
from lib . fullstory import fullstory
from lib . traceback . traceback import Traceback
log... | What is the type of variable INDEX? | 2,344 | builtins.str | 2,341 |
tikatoo/tikatwo | [
"repos/tikatoo/tikatwo/tikatwo/__main__.py",
"repos/tikatoo/tikatwo/tikatwo/__init__.py",
"repos/tikatoo/tikatwo/tikatwo/channel.py",
"repos/tikatoo/tikatwo/tikatwo/modules/__init__.py",
"repos/tikatoo/tikatwo/tikatwo/modules/counter.py",
"repos/tikatoo/tikatwo/tikatwo/modules/module.py"
] | import pathlib
import tikatwo
from os import walk
from pathlib import Path
from . import TikaBot
confpath = Path ( [string] )
if not confpath . is_dir ( ) :
if confpath . exists ( ) :
raise OSError ( f" [string] { confpath !r} [string] " )
else :
raise OSError ( f" [string] { confpath !r} [string] " )
con... | What is the type of variable matcher? | 2,127 | typing.Callable[[twitchio.Message],typing.Any] | 2,081 |
SUNET/cnaas-nac | [
"repos/SUNET/cnaas-nac/setyp.py",
"repos/SUNET/cnaas-nac/alembic/env.py",
"repos/SUNET/cnaas-nac/alembic/versions/538170dfe877_added_freeradius_tables.py",
"repos/SUNET/cnaas-nac/src/cnaas_nac/run.py",
"repos/SUNET/cnaas-nac/src/cnaas_nac/__init__.py",
"repos/SUNET/cnaas-nac/src/cnaas_nac/version.py",
"... | from typing import List
import typing
import os
import setuptools
from src . cnaas_nms import version
here = os . path . abspath ( os . path . dirname ( __file__ ) )
README = open ( os . path . join ( here , [string] ) ) . read ( )
version = version . __version__
requires = open ( os . path . join ( here ,... | What is the type of variable depends_on? | 9,434 | None | 9,288 |
gwax/mtg_ssm | [
"repos/gwax/mtg_ssm/setup.py",
"repos/gwax/mtg_ssm/mtg_ssm/__init__.py",
"repos/gwax/mtg_ssm/mtg_ssm/version.py",
"repos/gwax/mtg_ssm/mtg_ssm/scryfall/models.py",
"repos/gwax/mtg_ssm/mtg_ssm/scryfall/__init__.py",
"repos/gwax/mtg_ssm/mtg_ssm/scryfall/fetcher.py",
"repos/gwax/mtg_ssm/mtg_ssm/scryfall/thi... | from typing import Dict , List
import typing
[docstring]
import sys
import setuptools
if sys . version_info < ( [number] , [number] ) :
raise Exception ( [string] )
[comment]
__version__ = None
exec ( open ( [string] , [string] , encoding = [string] ) . read ( ) )
SHORT_DESCRIPTION = [string]
LONG_DESCR... | What is the type of variable games? | 4,738 | typing.Sequence[ScryGame] | 4,701 |
kelsos/test-environment-scripts | [
"repos/kelsos/test-environment-scripts/setup.py",
"repos/kelsos/test-environment-scripts/scripts/start_private_chain.py",
"repos/kelsos/test-environment-scripts/scripts/open_channels.py",
"repos/kelsos/test-environment-scripts/scripts/transfers.py",
"repos/kelsos/test-environment-scripts/scripts/check_direc... | [comment]
from setuptools import find_packages , setup
with open ( [string] , encoding = [string] ) as readme_file :
readme = readme_file . read ( )
history = [string]
version = [string] [comment]
setup ( name = [string] , description = [string] , version = version , long_description = readme , long_descript... | What is the type of variable payment_response? | 6,140 | raiden_api.model.responses.PaymentResponse | 6,018 |
B2W-BIT/asgard-api | [
"repos/B2W-BIT/asgard-api/hollowman/plugins/__init__.py",
"repos/B2W-BIT/asgard-api/asgard/app.py",
"repos/B2W-BIT/asgard-api/asgard/conf.py",
"repos/B2W-BIT/asgard-api/asgard/math/__init__.py",
"repos/B2W-BIT/asgard-api/asgard/exceptions/__init__.py",
"repos/B2W-BIT/asgard-api/asgard/workers/converters/c... | [comment]
from typing import Dict , Any , Union
import typing
import logging
import sys
import traceback
from enum import Enum
import pkg_resources
from simple_json_logger import JsonLogger
from hollowman import conf
from hollowman . log import logger
class API_PLUGIN_TYPES ( Enum ) :
API_METRIC_PLUGIN... | What is the type of variable get_user_by_id? | 10,203 | typing.Optional[asgard.models.user.User] | 9,896 |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 13