repo_name stringclasses 214
values | fname listlengths 1 292 | context stringlengths 268 377k | question stringlengths 31 72 | length int64 140 114k | answer stringclasses 260
values | full_len int64 135 122k |
|---|---|---|---|---|---|---|
konwoo/konwoogram | [
"repos/konwoo/konwoogram/konwoogram/__init__.py",
"repos/konwoo/konwoogram/konwoogram/users/adapters.py",
"repos/konwoo/konwoogram/konwoogram/users/apps.py",
"repos/konwoo/konwoogram/konwoogram/users/tests/test_models.py",
"repos/konwoo/konwoogram/konwoogram/notifications/tests.py",
"repos/konwoo/konwoogr... | from typing import Tuple , Union
import typing
__version__ = [string]
__version_info__ = tuple ( [ int ( num ) if num . isdigit ( ) else num for num in __version__ . replace ( [string] , [string] , [number] ) . split ( [string] ) ] )
repos/konwoo/konwoogram/konwoogram/users/adapters.py
from typing import Any
imp... | What is the type of variable sociallogin? | 989 | typing.Any | 887 |
KennethJ-USC/.config | [
"repos/KennethJ-USC/.config/sublime-text-3/Backup/20180319124545/Anaconda/anaconda_lib/jedi/api/interpreter.py",
"repos/KennethJ-USC/.config/sublime-text-3/Backup/20180319124545/Anaconda/anaconda_lib/linting/anaconda_mccabe.py"
] | from typing import Any , Dict
import typing
[docstring]
from jedi . evaluate . representation import ModuleContext
from jedi . evaluate import compiled
from jedi . evaluate . compiled import mixed
from jedi . evaluate . context import Context
class NamespaceObject ( object ) :
def __init__ ( self , dct ) :
... | What is the type of variable resets_positions? | 725 | builtins.bool | 758 |
spinaBelaya/python-labs_ITMO | [
"repos/spinaBelaya/python-labs_ITMO/mp/mp.py"
] | from typing import Any , Dict , List
import typing
import multiprocessing
import mp
from multiprocessing import Process , Manager
from queue import Queue
import psutil
from task import sorter , random , generate_data
import time
class ProcessPool :
def __init__ ( self , min_workers = [number] , max_workers ... | What is the type of variable max_ram? | 677 | builtins.float | 700 |
andreaslordos/incubator-superset-clone | [
"repos/andreaslordos/incubator-superset-clone/superset/utils/dict_import_export.py"
] | [comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
from typing import List , Dict , Any
import typing
import logging
from superset . connectors . druid . models import DruidCluster... | What is the type of variable DATABASES_KEY? | 626 | builtins.str | 650 |
Chi-Acci/groovies-backend | [
"repos/Chi-Acci/groovies-backend/backend/rooms/models.py"
] | from typing import Type , Any
import backend
import builtins
import typing
from django . db import models , IntegrityError
from ml_proxy import get_proxy
from . import constants
from . exceptions import RoomUsersNotReady
from . managers import RoomManager
class Room ( models . Model ) :
objects = RoomManag... | What is the type of variable total_expected_ratings? | 563 | typing.Any | 586 |
jest-community/jest-pytest | [
"repos/jest-community/jest-pytest/src/__tests__/integration/simple/main_test.py",
"repos/jest-community/jest-pytest/src/__tests__/integration/simple/snapshots/snap_main_test.py",
"repos/jest-community/jest-pytest/src/__tests__/integration/home-assistant/tests/__init__.py",
"repos/jest-community/jest-pytest/sr... | def test_modulemap ( snapshot ) :
snapshot . assert_match ( [ [number] , [number] , [number] ] )
def test_runlist ( ) :
assert [number] == [number]
repos/jest-community/jest-pytest/src/__tests__/integration/simple/snapshots/snap_main_test.py
[comment]
[comment]
from typing import Any
import typing
from __futu... | What is the type of variable snapshots? | 991 | typing.Any | 987 |
flopp/GpxTrackPoster | [
"repos/flopp/GpxTrackPoster/gpxtrackposter/grid_drawer.py"
] | from typing import Any
import svgwrite
import typing
import gpxtrackposter
[docstring]
[comment]
[comment]
[comment]
[comment]
import svgwrite [comment]
from gpxtrackposter . exceptions import PosterError
from gpxtrackposter . poster import Poster
from gpxtrackposter . track import Track
from gpxtrackpos... | What is the type of variable offset? | 701 | gpxtrackposter.xy.XY | 727 |
JustFixNYC/who-owns-what | [
"repos/JustFixNYC/who-owns-what/tests/factories/hpd_contacts.py"
] | import builtins
from typing import NamedTuple
class HpdContacts ( NamedTuple ) :
RegistrationContactID = [string]
RegistrationID = [string]
Type = [string]
ContactDescription = [string]
CorporationName = [string]
Title = [string]
FirstName = [string]
MiddleInitial = [string]
LastName = [string]
BusinessHo... | What is the type of variable LastName? | 157 | builtins.str | 179 |
DOUS3L/dotfiles | [
"repos/DOUS3L/dotfiles/.config/sublime-text-3/Packages/Anaconda/anaconda_server/lib/meta_handler.py",
"repos/DOUS3L/dotfiles/.config/sublime-text-3/Packages/Anaconda/anaconda_server/lib/compat/python2.py",
"repos/DOUS3L/dotfiles/.config/sublime-text-3/Packages/Anaconda/anaconda_server/lib/compat/python3.py",
... |
[comment]
[comment]
from . registry import HandlerRegistry
class AnacondaHandlerMeta ( type ) :
[docstring]
def __init__ ( cls , name , bases , attrs ) :
if not hasattr ( cls , [string] ) :
cls . _registry = HandlerRegistry ( )
if hasattr ( cls , [string] ) :
cls . _registry . register ( cls )
repos/DO... | What is the type of variable success? | 946 | builtins.str | 975 |
zulip/zulip | [
"repos/zulip/zulip/zilencer/models.py",
"repos/zulip/zulip/zilencer/forms.py"
] | from typing import List , Tuple
import builtins
import datetime
import typing
import datetime
from django . db import models
from analytics . models import BaseCount
from zerver . models import AbstractPushDeviceToken , AbstractRealmAuditLog
def get_remote_server_by_uuid ( uuid ) :
return RemoteZulipServer... | What is the type of variable full_name? | 937 | typing.Type[zilencer.forms.EnterpriseToSForm] | 952 |
samuelhwilliams/gt-powerup | [
"repos/samuelhwilliams/gt-powerup/app/forms.py"
] | from typing import Type , Any , List
import app
import typing
from flask_wtf import FlaskForm
from wtforms import StringField , HiddenField , RadioField
from wtforms . validators import DataRequired , Email
from app . design_system_fields import DSCheckboxField , DSRadioField
class LoginForm ( FlaskForm ) :
... | What is the type of variable trello_integration? | 629 | typing.Type[app.forms.AuthorizeTrelloForm] | 661 |
medtagger/MedTagger | [
"repos/medtagger/MedTagger/backend/medtagger/ground_truth/parsers/rectangle.py"
] | from typing import Any , List
import typing
import builtins
import medtagger
import numpy
[docstring]
from typing import List
import numpy as np
from medtagger . database import models
from medtagger . ground_truth . parsers import base
class RectangleLabelElementParser ( base . LabelElementParser ) :
[d... | What is the type of variable first_label_field? | 469 | typing.Any | 492 |
eecs-autograder/autograder-sandbox | [
"repos/eecs-autograder/autograder-sandbox/setup.py",
"repos/eecs-autograder/autograder-sandbox/autograder_sandbox/output_size_performance_test.py"
] | [comment]
from setuptools import setup
setup ( name = [string] , version = [string] , description = ( [string] [string] ) , author = [string] , author_email = [string] , packages = [ [string] ] , include_package_data = True , package_data = { [string] : [ [string] ] } , url = [string] , license = [string] , classif... | What is the type of variable main? | 639 | None | 653 |
KennethJ-USC/.config | [
"repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/parser/token.py",
"repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/parser/parser.py"
] | from typing import Any , Dict
import typing
from __future__ import absolute_import
from jedi . _compatibility import is_py3 , is_py35
from token import *
COMMENT = N_TOKENS
tok_name [ COMMENT ] = [string]
N_TOKENS += [number]
NL = N_TOKENS
tok_name [ NL ] = [string]
N_TOKENS += [number]
if is_py3 :
BAC... | What is the type of variable symbol? | 752 | typing.Any | 772 |
Zehua-Chen/coding-interview | [
"repos/Zehua-Chen/coding-interview/leetcode-1-100/longest-palindromic-substring/test.py",
"repos/Zehua-Chen/coding-interview/leetcode-1-100/zigzag-conversion/convert.py"
] | import unittest
from find_palindromic_substring import find_palindromic_substring
class FindLongestPalindromicSubstringTests ( unittest . TestCase ) :
def test_given ( self ) :
self . assertEqual ( find_palindromic_substring ( [string] ) , [string] )
self . assertEqual ( find_palindromic_substring ( [string] ) ,... | What is the type of variable convert? | 435 | builtins.str | 452 |
KennethJ-USC/.config | [
"repos/KennethJ-USC/.config/sublime-text-3/Backup/20180319124545/Anaconda/anaconda_lib/explore_panel.py"
] |
[comment]
[comment]
from typing import Any , List
import builtins
import _typing
import typing
import sublime
import sublime
from . _typing import List
from Default . history_list import get_jump_history_for_view
class ExplorerPanel :
[docstring]
def __init__ ( self , view , options ) :
self . option... | What is the type of variable region_name? | 1,009 | builtins.str | 1,032 |
relekang/python-semantic-release | [
"repos/relekang/python-semantic-release/semantic_release/history/parser_helpers.py",
"repos/relekang/python-semantic-release/semantic_release/history/parser_angular.py"
] | from typing import Pattern , List , Type
import typing
import builtins
import semantic_release
[docstring]
import collections
import re
from typing import List
re_breaking = re . compile ( [string] )
ParsedCommit = collections . namedtuple ( [string] , [ [string] , [string] , [string] , [string] , [string] ... | What is the type of variable parse_commit_message? | 721 | parser_helpers.ParsedCommit | 734 |
OCESS/orbitx | [
"repos/OCESS/orbitx/orbitx/graphics/ayse.py"
] | from typing import Any , Optional
import typing
import orbitx
import builtins
import vpython
from typing import Optional
import vpython
from orbitx . physics import calc
from orbitx import common
from orbitx . data_structures import Entity
from orbitx . graphics . threedeeobj import ThreeDeeObj
class AYS... | What is the type of variable origin? | 612 | orbitx.data_structures.Entity | 637 |
drmorr0/backuppy | [
"repos/drmorr0/backuppy/backuppy/stores/s3_backup_store.py"
] | from typing import List , Any , Set
import typing
import builtins
import backuppy
import math
from typing import List
import boto3
import colorlog
from backuppy . io import BLOCK_SIZE
from backuppy . io import IOIter
from backuppy . manifest import MANIFEST_KEY_PREFIX
from backuppy . manifest import MANIFE... | What is the type of variable _compute_object_storage_class? | 999 | builtins.str | 1,025 |
UAlbertaALTLab/recording-validation-interface | [
"repos/UAlbertaALTLab/recording-validation-interface/recvalsite/settings.py"
] | from typing import Dict , Any , Union , List
import typing
import pathlib
[docstring]
import os
from pathlib import Path
from decouple import config
[comment]
BASE_DIR = Path ( __file__ ) . resolve ( ) . parent . parent
assert ( BASE_DIR / [string] ) . is_file ( )
[comment]
[comment]
[comment]
SECRET_... | What is the type of variable RECVAL_METADATA_PATH? | 903 | typing.Any | 927 |
Atitacharya8/ecommerce | [
"repos/Atitacharya8/ecommerce/ecomm/wsgi.py",
"repos/Atitacharya8/ecommerce/ecomm/settings.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 ( )
repos/Atitacharya8/ecommerce/ecomm/settings.py
from typing import Dict , Tuple , List , Optional , Union ... | What is the type of variable EMAIL_HOST_PASSWORD? | 810 | typing.Optional[builtins.str] | 823 |
luismayta/emacs.d | [
"repos/luismayta/emacs.d/docs/source/conf.py"
] | [comment]
from typing import List , Any , Dict , Union , Tuple
import typing
[docstring]
import os
import os . path
import sys
import sphinx_rtd_theme
[comment]
ROOT_PATH = os . path . dirname ( os . path . abspath ( __file__ ) )
SRC_FOLDER = os . path . abspath ( os . path . join ( os . path . dirname ( _... | What is the type of variable locale_dirs? | 724 | typing.List[builtins.str] | 751 |
Chi-Acci/groovies-backend | [
"repos/Chi-Acci/groovies-backend/backend/backend/settings/production.py",
"repos/Chi-Acci/groovies-backend/backend/backend/settings/base.py"
] | from typing import List
import typing
from . base import * [comment]
DEBUG = False
INSTALLED_APPS . append ( [string] ) [comment]
ALLOWED_HOSTS = [ [string] ]
ENV = [string]
repos/Chi-Acci/groovies-backend/backend/backend/settings/base.py
from typing import Dict , Union , Optional , Any , List , Tuple
im... | What is the type of variable CORS_ALLOW_METHODS? | 858 | typing.Tuple[builtins.str,builtins.str,builtins.str,builtins.str,builtins.str,builtins.str] | 893 |
zulip/zulip | [
"repos/zulip/zulip/zerver/views/typing.py",
"repos/zulip/zulip/zerver/views/development/registration.py",
"repos/zulip/zulip/zerver/lib/profile.py"
] | from typing import List
import zerver
import django
import builtins
import typing
from typing import List
from django . http import HttpRequest , HttpResponse
from zerver . decorator import REQ , has_request_variables
from zerver . lib . actions import check_send_typing_notification
from zerver . lib . respo... | What is the type of variable profiled? | 949 | FuncT | 940 |
Zehua-Chen/coding-interview | [
"repos/Zehua-Chen/coding-interview/leetcode-1-100/two-sum/find_sum.py",
"repos/Zehua-Chen/coding-interview/leetcode-1-100/two-sum/test.py"
] | from typing import Tuple , Dict , Any , List
import builtins
import typing
from typing import List , Tuple
def find_sum ( data , target ) :
d = dict ( )
[comment]
for ( i , val ) in enumerate ( data ) :
d [ val ] = i
for ( i , val ) in enumerate ( data ) :
[comment]
diff = target - val
[comment]
if dif... | What is the type of variable test_mixed? | 648 | None | 662 |
suutari/meterelf | [
"repos/suutari/meterelf/meterelf/_debug.py",
"repos/suutari/meterelf/meterelf/exceptions.py"
] | from typing import Set
import typing
import os
DEBUG = { x for x in os . getenv ( [string] , [string] ) . replace ( [string] , [string] ) . split ( ) if x . lower ( ) not in { [string] , [string] , [string] , [string] } }
if [string] in DEBUG :
DEBUG = { [string] }
def reraise_if_debug_on ( ) :
if DEBUG :
r... | What is the type of variable add_filename? | 539 | typing.Union[builtins.bool,builtins.str] | 556 |
ScottSnapperLab/db_tools | [
"repos/ScottSnapperLab/db_tools/db_tools/etl/recast.py",
"repos/ScottSnapperLab/db_tools/db_tools/etl/common/__init__.py",
"repos/ScottSnapperLab/db_tools/db_tools/etl/common/recode.py",
"repos/ScottSnapperLab/db_tools/db_tools/etl/common/loaders.py",
"repos/ScottSnapperLab/db_tools/db_tools/etl/common/vali... | [docstring]
import pandas as pd
import pendulum as pen
[comment]
def as_time ( value ) :
[docstring]
try :
return pen . parse ( value ) . time ( )
except TypeError :
return pd . NaT
def as_string ( value ) :
[docstring]
return str ( value )
def as_date ( value ) :
[docstring]
try :
return pen . pa... | What is the type of variable __all__? | 840 | typing.List[builtins.str] | 819 |
antontimenko/playground | [
"repos/antontimenko/playground/playground/__main__.py",
"repos/antontimenko/playground/playground/app.py",
"repos/antontimenko/playground/playground/views.py",
"repos/antontimenko/playground/playground/routes.py",
"repos/antontimenko/playground/playground/apps/graphql/schema.py",
"repos/antontimenko/playg... | if __name__ == [string] :
import playground . app as ssr_app
ssr_app . run ( )
repos/antontimenko/playground/playground/app.py
from typing import Any
import typing
from aiohttp import web
from playground . routes import setup_routes
app = web . Application ( )
setup_routes ( app )
def run ( ) :
web . r... | What is the type of variable index? | 678 | aiohttp.web.Response | 608 |
zhbei/Sublime-Text-3 | [
"repos/zhbei/Sublime-Text-3/Backup/20170929091908/Anaconda/anaconda_lib/autopep/autopep8_lib/lib2to3/pgen2/token.py"
] | [comment]
from typing import Any , Dict
import typing
[docstring]
[comment]
[comment]
[comment]
ENDMARKER = [number]
NAME = [number]
NUMBER = [number]
STRING = [number]
NEWLINE = [number]
INDENT = [number]
DEDENT = [number]
LPAR = [number]
RPAR = [number]
LSQB = [number]
RSQB = [number]
COLON = [nu... | What is the type of variable TILDE? | 594 | builtins.int | 618 |
etcher-be/elib_config | [
"repos/etcher-be/elib_config/elib_config/_file/_config_file.py",
"repos/etcher-be/elib_config/elib_config/_file/_config_example_header.py",
"repos/etcher-be/elib_config/elib_config/_value/_config_value_float.py"
] | [comment]
from typing import MutableMapping , Any
import pathlib
import typing
import builtins
import multiprocessing
[docstring]
import multiprocessing
import typing
from pathlib import Path
import tomlkit
import tomlkit . exceptions
[comment]
from elib_config . _setup import ELIBConfig
[comment]
from... | What is the type of variable HEADER? | 797 | builtins.str | 797 |
pythonitalia/fatturae | [
"repos/pythonitalia/fatturae/fatturae/wsgi.py",
"repos/pythonitalia/fatturae/fatturae/urls.py",
"repos/pythonitalia/fatturae/tests/conftest.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 ( )
repos/pythonitalia/fatturae/fatturae/urls.py
from typing import List , Any
import typing
[docstring]
f... | What is the type of variable application? | 288 | typing.Any | 279 |
wangzhaoyao/rocket_old | [
"repos/wangzhaoyao/rocket_old/smbinning/woe_test.py",
"repos/wangzhaoyao/rocket_old/data/__init__.py",
"repos/wangzhaoyao/rocket_old/data/model_hl/__init__.py"
] | [comment]
from typing import Any
import typing
import os
import pandas as pd
os . chdir ( [string] )
df = pd . read_csv ( [string] )
repos/wangzhaoyao/rocket_old/data/__init__.py
[comment]
repos/wangzhaoyao/rocket_old/data/model_hl/__init__.py
[comment] | What is the type of variable df? | 140 | typing.Any | 135 |
luphord/longstaff_schwartz | [
"repos/luphord/longstaff_schwartz/longstaff_schwartz/__init__.py",
"repos/luphord/longstaff_schwartz/longstaff_schwartz/stochastic_process.py"
] | [comment]
[docstring]
__author__ = [string]
__email__ = [string]
__version__ = [string]
repos/luphord/longstaff_schwartz/longstaff_schwartz/stochastic_process.py
[comment]
from typing import Any
import scipy
import numpy
import typing
import builtins
import numpy as np
from scipy . stats . distribution... | What is the type of variable mu_t? | 643 | builtins.float | 658 |
zhbei/Sublime-Text-3 | [
"repos/zhbei/Sublime-Text-3/Backup/20170321104227/Anaconda/anaconda_lib/linting/__init__.py",
"repos/zhbei/Sublime-Text-3/Backup/20170321104227/Anaconda/anaconda_lib/linting/pyflakes/__init__.py",
"repos/zhbei/Sublime-Text-3/Backup/20170321104227/Anaconda/commands/__init__.py"
] |
[comment]
[comment]
repos/zhbei/Sublime-Text-3/Backup/20170321104227/Anaconda/anaconda_lib/linting/pyflakes/__init__.py
__version__ = [string]
repos/zhbei/Sublime-Text-3/Backup/20170321104227/Anaconda/commands/__init__.py
[comment]
[comment]
from typing import List
import typing
from . doc import AnacondaD... | What is the type of variable __version__? | 478 | builtins.str | 506 |
Yobmod/dmlsite | [
"repos/Yobmod/dmlsite/dmlsite/jinja/djjn_tag.py",
"repos/Yobmod/dmlsite/dmlsite/jinja/jinja2_custom.py"
] | from typing import Type , Any
import typing
import jinja2
import dmlsite
from jinja2 . ext import Extension
from jinja2 . nodes import Node
from jinja2 . parser import Parser
from jinja2 import lexer , nodes
class Django ( Extension ) :
tags = set ( [ [string] ] )
def _django ( self ) :
return ( [string] ... | What is the type of variable call? | 458 | typing.Any | 467 |
luismayta/emacs.d | [
"repos/luismayta/emacs.d/docs/source/conf.py"
] | [comment]
from typing import List , Any , Dict , Union , Tuple
import typing
[docstring]
import os
import os . path
import sys
import sphinx_rtd_theme
[comment]
ROOT_PATH = os . path . dirname ( os . path . abspath ( __file__ ) )
SRC_FOLDER = os . path . abspath ( os . path . join ( os . path . dirname ( _... | What is the type of variable todo_include_todos? | 724 | builtins.bool | 749 |
wizeline/relayer | [
"repos/wizeline/relayer/relayer/exceptions.py"
] | from typing import Any
import typing
from typing import Any
from uuid import UUID
class RelayerError ( Exception ) :
pass
class NonJSONSerializableMessageError ( RelayerError ) :
pass
class ConfigurationError ( RelayerError ) :
def __init__ ( self ) :
super ( ) . __init__ ( [string] )
class Unsupport... | What is the type of variable __init__? | 165 | None | 187 |
narnikgamarnikus/evolution | [
"repos/narnikgamarnikus/evolution/__init__.py",
"repos/narnikgamarnikus/evolution/main.py",
"repos/narnikgamarnikus/evolution/initial_data.py"
] | __version__ = [string]
repos/narnikgamarnikus/evolution/main.py
from typing import Any , Tuple , List
import typing
from random import randint
import pygame
from apscheduler . schedulers . background import BackgroundScheduler
from initial_data import ( WIDTH , HEIGHT , MARGIN , WINDOW_SIZE , GRID_SIZE , WHIT... | What is the type of variable BLACK? | 917 | typing.Tuple[builtins.int,builtins.int,builtins.int] | 922 |
matt2tech/django-views | [
"repos/matt2tech/django-views/app/admin.py",
"repos/matt2tech/django-views/links/wsgi.py",
"repos/matt2tech/django-views/links/urls.py"
] | from django . contrib import admin
[comment]
repos/matt2tech/django-views/links/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 ( )
repos/matt2te... | What is the type of variable urlpatterns? | 218 | typing.List[typing.Any] | 213 |
sara0871/releases- | [
"repos/sara0871/releases-/homeassistant/components/homematicip_cloud/errors.py",
"repos/sara0871/releases-/homeassistant/components/onboarding/const.py",
"repos/sara0871/releases-/homeassistant/components/light/homematic.py"
] | [docstring]
from homeassistant . exceptions import HomeAssistantError
class HmipcException ( HomeAssistantError ) :
[docstring]
class HmipcConnectionError ( HmipcException ) :
[docstring]
class HmipcConnectionWait ( HmipcException ) :
[docstring]
class HmipcRegistrationFailed ( HmipcException ) :
[docs... | What is the type of variable STEP_USER? | 701 | builtins.str | 696 |
kursusme/virtuous-contract | [
"repos/kursusme/virtuous-contract/app/db_models/user.py",
"repos/kursusme/virtuous-contract/app/models/user.py"
] | from typing import Type
import typing
import app
from sqlalchemy import ( Boolean , Column , Date , DateTime , Enum , ForeignKey , Integer , String , )
from sqlalchemy . orm import relationship
from app . db . base_class import Base
from app . models . user import UserType
class User ( Base ) :
__tablename__... | What is the type of variable postal_code? | 555 | typing.Type[app.db_models.user.User] | 569 |
sim1234/snowid | [
"repos/sim1234/snowid/project/gamepart/physics/__init__.py",
"repos/sim1234/snowid/project/gamepart/physics/category.py"
] | from . utils import pymunk , make_body , update_shape , typed_property [comment]
from . vector import Vector [comment]
from . world import World [comment]
from . physicalobject import ( PhysicalObject , CollisionObject , AwareObject , SimplePhysicalObject , )
from . category import Category , cat_all , cat_none [co... | What is the type of variable __sub__? | 557 | "Category" | 567 |
dyntopia/luoda | [
"repos/dyntopia/luoda/luoda/__init__.py",
"repos/dyntopia/luoda/luoda/config.py"
] | [comment]
[comment]
[comment]
__version__ = [string]
__project__ = [string]
repos/dyntopia/luoda/luoda/config.py
[comment]
[comment]
[comment]
from typing import Dict , Any
import typing
import pathlib
import builtins
from pathlib import Path
from typing import Any , Dict , cast
import toml
from pyg... | What is the type of variable __project__? | 541 | builtins.str | 549 |
evolution-events/Artaxerxes | [
"repos/evolution-events/Artaxerxes/apps/registrations/models/__init__.py",
"repos/evolution-events/Artaxerxes/apps/people/urls.py",
"repos/evolution-events/Artaxerxes/apps/people/views.py",
"repos/evolution-events/Artaxerxes/apps/people/apps.py",
"repos/evolution-events/Artaxerxes/apps/people/models/__init_... | from typing import List
import typing
from . registration import Registration
from . registration_field import RegistrationField
from . registration_field_option import RegistrationFieldOption
from . registration_field_value import RegistrationFieldValue
__all__ = [ [string] , [string] , [string] , [string] ]
... | What is the type of variable urlpatterns? | 509 | typing.List[typing.Any] | 478 |
flopp/GpxTrackPoster | [
"repos/flopp/GpxTrackPoster/gpxtrackposter/grid_drawer.py"
] | from typing import Any
import svgwrite
import typing
import gpxtrackposter
[docstring]
[comment]
[comment]
[comment]
[comment]
import svgwrite [comment]
from gpxtrackposter . exceptions import PosterError
from gpxtrackposter . poster import Poster
from gpxtrackposter . track import Track
from gpxtrackpos... | What is the type of variable the_poster? | 701 | gpxtrackposter.poster.Poster | 729 |
CodeGra-de/CodeGra.de | [
"repos/CodeGra-de/CodeGra.de/cg_typing_extensions/__init__.py",
"repos/CodeGra-de/CodeGra.de/cg_dt_utils/__init__.py"
] | from typing import Any , Type , Callable , TypeVar
import typing
import builtins
[docstring]
import typing as t
T_DICT = t . TypeVar ( [string] , bound = dict ) [comment]
def make_typed_dict_extender ( base , extends_to ) : [comment]
[docstring]
def _extend ( ** kwargs ) :
base . update ( kwargs )
return ... | What is the type of variable utcnow? | 815 | 'DatetimeWithTimezone' | 831 |
fonsecapeter/Tracks | [
"repos/fonsecapeter/Tracks/config/wsgi.py",
"repos/fonsecapeter/Tracks/config/gunicorn/local.py"
] | from typing import Any
import typing
[docstring]
import os
from django . core . wsgi import get_wsgi_application
application = get_wsgi_application ( )
repos/fonsecapeter/Tracks/config/gunicorn/local.py
import os
import multiprocessing
max_requests = [number]
max_requests_jitter = [number]
reload = True... | What is the type of variable keyfile? | 188 | builtins.str | 195 |
c74p/Capstone-SalesForecasting | [
"repos/c74p/Capstone-SalesForecasting/tests/constraints/generate_constraints.py",
"repos/c74p/Capstone-SalesForecasting/tests/constraints/verify_constraints.py"
] | from typing import Any
import typing
import os
import pandas as pd
import sys
from tdda . constraints . pd . constraints import discover_df
inpath = [string]
outpath = [string]
df = pd . read_csv ( inpath , low_memory = False )
constraints = discover_df ( df )
with open ( outpath , [string] ) as f :
f . ... | What is the type of variable constraints? | 538 | typing.Any | 548 |
tribbloid/convnet-abstraction | [
"repos/tribbloid/convnet-abstraction/python/rnn/shared.py"
] | [comment]
[comment]
from typing import Any , List , Dict
import typing
import mxnet as mx
import numpy as np
[comment]
[comment]
context = mx . gpu ( [number] )
[comment]
[comment]
with open ( [string] , errors = [string] ) as f :
text = f . read ( )
print ( len ( text ) )
[comment]
[comment]
chars =... | What is the type of variable cs? | 944 | builtins.int | 966 |
PythonSanSebastian/docstamp | [
"repos/PythonSanSebastian/docstamp/docstamp/data_source.py",
"repos/PythonSanSebastian/docstamp/docstamp/model.py"
] | import builtins
from typing import Callable , Any
import docstamp
import typing
import sys
from . unicode_csv import UnicodeWriter
if sys . version_info [ [number] ] >= [number] :
raw_input = input
class GoogleData :
def getCSV ( self ) :
[docstring]
import getpass
import gspread
user = raw_input ( [... | What is the type of variable sheet? | 573 | builtins.str | 578 |
sara0871/releases- | [
"repos/sara0871/releases-/homeassistant/components/cover/rpi_gpio.py"
] | from typing import Any , List
import logging
import typing
[docstring]
import logging
from time import sleep
import voluptuous as vol
from homeassistant . components . cover import CoverDevice , PLATFORM_SCHEMA
from homeassistant . const import CONF_NAME
from homeassistant . components import rpi_gpio
impor... | What is the type of variable DEFAULT_STATE_PULL_MODE? | 945 | builtins.str | 970 |
evolution-events/Artaxerxes | [
"repos/evolution-events/Artaxerxes/apps/core/models/consent_log.py",
"repos/evolution-events/Artaxerxes/apps/core/models/__init__.py"
] | from typing import Type
import typing
import apps
from django . conf import settings
from django . db import models
from django . utils . translation import ugettext_lazy as _
from konst import Constant , Constants
from konst . models . fields import ConstantChoiceField
from apps . registrations . models impor... | What is the type of variable timestamp? | 476 | typing.Type[apps.core.models.consent_log.ConsentLog] | 496 |
Vokler/timetable-server | [
"repos/Vokler/timetable-server/university/tests/test_timetable.py"
] | from typing import Any , List
import typing
import users
from rest_framework . status import HTTP_200_OK
from common . tests import BaseAPITestCase
from common . utils import TypeWeek
from users . factories import UserFactory
from . . factories import SubscriptionFactory , TimetableFactory
from . . models imp... | What is the type of variable response? | 492 | typing.Any | 513 |
laith43d/juju-survey | [
"repos/laith43d/juju-survey/facilities/databases/AllFeaturesMixinDocs.py",
"repos/laith43d/juju-survey/api/Survey.py",
"repos/laith43d/juju-survey/api/__init__.py"
] | [comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[... | What is the type of variable surveys? | 798 | typing.Any | 789 |
KennethJ-USC/.config | [
"repos/KennethJ-USC/.config/sublime-text-3/Backup/20180319124545/Anaconda/anaconda_lib/jedi/debug.py"
] | import builtins
from typing import Any , List , Optional , Callable
import typing
import _importlib_modulespec
import inspect
from jedi . _compatibility import encoding , is_py3 , u
import inspect
import os
import time
def _lazy_colorama_init ( ) :
[docstring]
pass
_inited = False
try :
if os . name ==... | What is the type of variable GREEN? | 781 | builtins.str | 803 |
nextprime/python-samples | [
"repos/nextprime/python-samples/wss_client.py",
"repos/nextprime/python-samples/nprime_api/__init__.py"
] | [comment]
from typing import List , Any , Optional
import websockets
import argparse
import wss_client
import typing
import builtins
import sys
import argparse
import asyncio
import urllib
import urllib . parse
import json
from typing import Optional , List
import yaml
import websockets
[comment]
[com... | What is the type of variable s? | 795 | typing.Any | 801 |
B2W-BIT/async-worker | [
"repos/B2W-BIT/async-worker/asyncworker/conf.py",
"repos/B2W-BIT/async-worker/asyncworker/task_runners.py",
"repos/B2W-BIT/async-worker/asyncworker/metrics/buckets.py"
] | from typing import Any , List
import typing
import builtins
import asyncworker
import logging
from typing import Optional , List
from aiologger . loggers . json import JsonLogger
from pydantic import BaseSettings
from asyncworker . options import DefaultValues
INFINITY = float ( [string] )
class Settings... | What is the type of variable METRICS_APPPREFIX? | 1,012 | typing.Optional[builtins.str] | 1,016 |
lgw4/cetools | [
"repos/lgw4/cetools/src/cetools/utils.py"
] | from typing import Dict
import builtins
import typing
import random
import random
PSEUDO_HEX = { [number] : [string] , [number] : [string] , [number] : [string] , [number] : [string] , [number] : [string] , [number] : [string] , [number] : [string] , [number] : [string] , [number] : [string] , [number] : [string]... | What is the type of variable PSEUDO_HEX? | 435 | typing.Dict[builtins.int,builtins.str] | 468 |
bankroll-py/bankroll-marketdata | [
"repos/bankroll-py/bankroll-marketdata/bankroll/marketdata/provider.py",
"repos/bankroll-py/bankroll-marketdata/bankroll/marketdata/__init__.py",
"repos/bankroll-py/bankroll-marketdata/bankroll/marketdata/broker.py"
] | from typing import Iterable , Tuple
import typing
import bankroll
from abc import ABC , abstractmethod
from typing import Iterable , Tuple
from bankroll . model import Cash , Instrument , Quote
class MarketDataProvider ( ABC ) :
[comment]
[comment]
@ abstractmethod def fetchQuotes ( self , instruments ) :
... | What is the type of variable __all__? | 251 | typing.List[builtins.str] | 262 |
medtagger/MedTagger | [
"repos/medtagger/MedTagger/backend/medtagger/definitions.py",
"repos/medtagger/MedTagger/backend/medtagger/dicoms.py"
] | [docstring]
from enum import Enum
class DicomTag ( Enum ) :
[docstring]
SLICE_LOCATION = [string]
IMAGE_POSITION_PATIENT = [string]
RESCALE_INTERCEPT = [string]
RESCALE_SLOPE = [string]
RESCALE_TYPE = [string]
PIXEL_SPACING = [string]
ROWS = [string]
COLUMNS = [string]
MODALITY = [string]
class SliceO... | What is the type of variable Z? | 622 | builtins.str | 633 |
martasd/moving-fast-backend | [
"repos/martasd/moving-fast-backend/config/routing.py",
"repos/martasd/moving-fast-backend/config/urls.py",
"repos/martasd/moving-fast-backend/config/asgi.py",
"repos/martasd/moving-fast-backend/apps/chat/views.py",
"repos/martasd/moving-fast-backend/apps/chat/models.py"
] | from typing import Any
import typing
from channels . routing import ProtocolTypeRouter , URLRouter
from apps . authentication . middlewares import WebSocketJwtAuthMiddleware
import apps . chat . routing
application = ProtocolTypeRouter ( { [string] : WebSocketJwtAuthMiddleware ( URLRouter ( apps . chat . routing... | What is the type of variable content? | 871 | typing.Type[apps.chat.models.Message] | 830 |
sara0871/releases- | [
"repos/sara0871/releases-/homeassistant/components/binary_sensor/eight_sleep.py"
] | from typing import Any , List
import typing
import logging
[docstring]
import logging
from homeassistant . components . binary_sensor import BinarySensorDevice
from homeassistant . components . eight_sleep import ( DATA_EIGHT , EightSleepHeatEntity , CONF_BINARY_SENSORS , NAME_MAP )
_LOGGER = logging . getLogg... | What is the type of variable _LOGGER? | 481 | logging.Logger | 503 |
flopp/GpxTrackPoster | [
"repos/flopp/GpxTrackPoster/gpxtrackposter/year_range.py"
] | from typing import Optional , Generator , Match
import builtins
import typing
import datetime
[docstring]
[comment]
[comment]
[comment]
[comment]
import datetime
import re
import typing
class YearRange :
[docstring]
def __init__ ( self ) :
[docstring]
self . from_year = None
self . to_year = None
... | What is the type of variable parse? | 555 | builtins.bool | 577 |
rbrtjns90/justice-mailer | [
"repos/rbrtjns90/justice-mailer/colossus/celery.py",
"repos/rbrtjns90/justice-mailer/colossus/__init__.py",
"repos/rbrtjns90/justice-mailer/colossus/storage.py",
"repos/rbrtjns90/justice-mailer/colossus/wsgi.py",
"repos/rbrtjns90/justice-mailer/colossus/apps/templates/models.py"
] | from typing import Any
import typing
import os
from celery import Celery
os . environ . setdefault ( [string] , [string] )
app = Celery ( [string] )
app . config_from_object ( [string] , namespace = [string] )
app . autodiscover_tasks ( )
repos/rbrtjns90/justice-mailer/colossus/__init__.py
from typing impo... | What is the type of variable __all__? | 896 | typing.List[builtins.str] | 881 |
andrewychoi/cryptopals-challenges | [
"repos/andrewychoi/cryptopals-challenges/challenge08.py"
] | from typing import Dict , Any , List
import typing
import builtins
import itertools
def count_identical_chunks ( ciphertext , aligned = False ) :
[docstring]
if aligned :
[comment]
chunked = [ ciphertext [ i * [number] : ( i + [number] ) * [number] ] for i in range ( [number] , len ( ciphertext ) // [number] ... | What is the type of variable count_identical_chunks? | 359 | builtins.int | 384 |
wizeline/relayer | [
"repos/wizeline/relayer/tests/test_event_emitter.py"
] | from typing import List , Any
import typing
import uuid
import relayer
from uuid import uuid4
from datetime import datetime
import json
from relayer import EventEmitter
from relayer . test import MockedProducer
from relayer . exceptions import NonJSONSerializableMessageError , UnsupportedPartitionKeyTypeError... | What is the type of variable messages? | 652 | typing.List[typing.Any] | 677 |
zulip/zulip | [
"repos/zulip/zulip/zerver/lib/management.py"
] | [comment]
from typing import Any , Dict , Set , List , Optional
import builtins
import zerver
import typing
import argparse
import time
from argparse import ArgumentParser , RawTextHelpFormatter
from typing import Any , Dict , List , Optional
from django . conf import settings
from django . core . exceptions... | What is the type of variable check_config? | 995 | None | 1,016 |
DOUS3L/dotfiles | [
"repos/DOUS3L/dotfiles/.config/sublime-text-3/Packages/Anaconda/anaconda_server/lib/registry.py",
"repos/DOUS3L/dotfiles/.config/sublime-text-3/Packages/Anaconda/anaconda_server/lib/contexts.py",
"repos/DOUS3L/dotfiles/.config/sublime-text-3/Packages/Anaconda/anaconda_server/lib/__init__.py",
"repos/DOUS3L/do... |
[comment]
[comment]
from typing import Any , List
import typing
import os
import sys
import logging
class HandlerRegistry ( object ) :
[docstring]
initialized = False
def __init__ ( self ) :
self . _handlers = { }
def initialize ( self ) :
[docstring]
if self . initialized :
return
self . _impo... | What is the type of variable lang? | 890 | builtins.str | 915 |
rigetti/quantumflow | [
"repos/rigetti/quantumflow/quantumflow/backend/tensorflowbk.py"
] |
[comment]
[comment]
[comment]
[comment]
from typing import Any , List , Union , Tuple
import typing
import numpybk
import builtins
[docstring]
import math
import typing
import string
import numpy as np
import tensorflow as tf
from tensorflow import transpose , minimum , exp , cos , sin [comment]
fro... | What is the type of variable getitem? | 1,012 | numpybk.BKTensor | 1,037 |
nnadeau/pybotics | [
"repos/nnadeau/pybotics/pybotics/link.py"
] | from typing import Type , Union , Any , Sequence
import typing
import builtins
import pybotics
import numpy
[docstring]
from abc import abstractmethod
from collections import Sized
from typing import Sequence , Union
import attr
import numpy as np [comment]
from pybotics . json_encoder import JSONEncoder
... | What is the type of variable a? | 797 | typing.Any | 818 |
KennethJ-USC/.config | [
"repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/linting/anaconda_pylint.py"
] | [comment]
[comment]
[comment]
from typing import Any , List , Dict
import typing
[docstring]
import os
import sys
import logging
import subprocess
if sys . version_info >= ( [number] , [number] ) :
from io import StringIO
else :
try :
from cStringIO import StringIO
except ImportError :
from StringIO... | What is the type of variable mapping? | 839 | typing.Dict[builtins.str,builtins.str] | 869 |
flopp/GpxTrackPoster | [
"repos/flopp/GpxTrackPoster/gpxtrackposter/xy.py",
"repos/flopp/GpxTrackPoster/gpxtrackposter/localization.py"
] | from typing import Tuple , Union
import builtins
import typing
[docstring]
[comment]
[comment]
[comment]
[comment]
from typing import Tuple , Union
class XY :
[docstring]
def __init__ ( self , x = [number] , y = [number] ) :
self . x = x
self . y = y
def __mul__ ( self , factor ) :
if isinstance ( f... | What is the type of variable localized_day_of_week_name? | 554 | builtins.str | 566 |
Team6479/Robot2019-Vision | [
"repos/Team6479/Robot2019-Vision/frc2019_vision/environment.py"
] | import builtins
import cv2
from cv2 import VideoCapture
from . import FrameQueue , OverwritingLifoQueue , Target
TARGET = OverwritingLifoQueue ( [number] )
[comment]
TARGET . put ( Target . NONE )
GUI = False
CAMERA_PORT = [number]
VIDEO_STREAM = VideoCapture ( CAMERA_PORT )
NETIFACE = [string]
[commen... | What is the type of variable CAMERA_PORT? | 185 | builtins.int | 208 |
jest-community/jest-pytest | [
"repos/jest-community/jest-pytest/src/__tests__/integration/flask/examples/tutorial/flaskr/auth.py"
] | from typing import Any
import typing
import flask
import functools
from flask import ( Blueprint , flash , g , redirect , render_template , request , session , url_for )
from werkzeug . security import check_password_hash , generate_password_hash
from flaskr . db import get_db
bp = Blueprint ( [string] , __na... | What is the type of variable bp? | 668 | flask.blueprints.Blueprint | 693 |
paul-schwendenman/exercism-tracks | [
"repos/paul-schwendenman/exercism-tracks/python/rna-transcription/rna_transcription.py",
"repos/paul-schwendenman/exercism-tracks/python/space-age/space_age_test.py",
"repos/paul-schwendenman/exercism-tracks/python/space-age/space_age.py"
] | from typing import Dict
import typing
def to_rna ( dna_strand ) :
dna_map = { [string] : [string] , [string] : [string] , [string] : [string] , [string] : [string] , }
return [string] . join ( dna_map [ dna_item ] for dna_item in dna_strand )
repos/paul-schwendenman/exercism-tracks/python/space-age/space_age_test... | What is the type of variable MERCURY_RATIO? | 897 | builtins.float | 905 |
jamescooke/flake8-aaa | [
"repos/jamescooke/flake8-aaa/tests/line_markers/test_set.py"
] | from typing import Any
import typing
import pytest
from flake8_aaa . exceptions import ValidationError
from flake8_aaa . line_markers import LineMarkers
from flake8_aaa . types import LineType
[docstring] [comment]
@ pytest . mark . parametrize ( [string] , [ t for t in LineType if t != LineType . unprocesse... | What is the type of variable mark_bl_cmt_on_bl_cmt? | 930 | None | 957 |
spinaBelaya/python-labs_ITMO | [
"repos/spinaBelaya/python-labs_ITMO/lab9/map_reduse.py"
] | [comment]
from typing import Any , Dict , List
import typing
def mapper ( doc ) :
[comment]
import os
print ( os . getcwd ( ) )
words = [ ]
with open ( os . path . join ( [string] , doc ) ) as fd :
for line in fd :
words . extend ( ( word . lower ( ) , [number] ) for word in line . split ( ) if len ( word ) ... | What is the type of variable n? | 538 | builtins.int | 560 |
sim1234/snowid | [
"repos/sim1234/snowid/project/gamepart/viewport/graphicalobject.py"
] | from typing import Tuple , Iterable
import builtins
import typing
import math
import typing
import sdl2 . ext
from . . subsystem import SubSystemObject
from . . physics . vector import Vector
class GraphicalObject ( SubSystemObject ) :
position = ...
angle = ...
def draw ( self , vp ) :
raise NotImplem... | What is the type of variable angle? | 705 | builtins.float | 727 |
lpig/sublime-backup | [
"repos/lpig/sublime-backup/WakaTime/packages/wakatime/packages/requests_ntlm/__init__.py",
"repos/lpig/sublime-backup/WakaTime/packages/wakatime/packages/simplejson/ordered_dict.py"
] | from typing import Tuple
import typing
from . requests_ntlm import HttpNtlmAuth
__all__ = ( [string] , )
repos/lpig/sublime-backup/WakaTime/packages/wakatime/packages/simplejson/ordered_dict.py
import builtins
from typing import Any , Dict , OrderedDict , List , Type , Tuple
import WakaTime
import typing
[do... | What is the type of variable values? | 997 | typing.Type[WakaTime.packages.wakatime.packages.simplejson.ordered_dict.OrderedDict] | 1,029 |
PythonSanSebastian/docstamp | [
"repos/PythonSanSebastian/docstamp/docstamp/data_source.py",
"repos/PythonSanSebastian/docstamp/docstamp/model.py"
] | import builtins
from typing import Callable , Any
import docstamp
import typing
import sys
from . unicode_csv import UnicodeWriter
if sys . version_info [ [number] ] >= [number] :
raw_input = input
class GoogleData :
def getCSV ( self ) :
[docstring]
import getpass
import gspread
user = raw_input ( [... | What is the type of variable user? | 573 | builtins.str | 578 |
flopp/GpxTrackPoster | [
"repos/flopp/GpxTrackPoster/gpxtrackposter/grid_drawer.py"
] | from typing import Any
import svgwrite
import typing
import gpxtrackposter
[docstring]
[comment]
[comment]
[comment]
[comment]
import svgwrite [comment]
from gpxtrackposter . exceptions import PosterError
from gpxtrackposter . poster import Poster
from gpxtrackposter . track import Track
from gpxtrackpos... | What is the type of variable __init__? | 701 | None | 723 |
lpig/sublime-backup | [
"repos/lpig/sublime-backup/WakaTime/packages/wakatime/packages/ntlm_auth/rc4.py"
] | [comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
[comment]
import builtins
from typing import Any , List , Type
import WakaTime
import typing
class ARC4 ( object ) :
state = None
i = [number]
j = [number]
def __init__ ( self , key ) :
[comment]
if isinsta... | What is the type of variable updated_byte? | 464 | typing.Any | 486 |
mos-polytech/hangman | [
"repos/mos-polytech/hangman/hangman/round.py"
] | from typing import List , Any
import typing
import hangman
from hangman . field import HangmanField
class Round ( object ) :
empty_mark = [string]
def __init__ ( self , word ) :
self . word = word
self . _field = HangmanField ( )
self . max_wrong_tries = len ( self . _field . states )
self . tries = [numb... | What is the type of variable wrong_tries? | 469 | builtins.int | 493 |
KennethJ-USC/.config | [
"repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/__init__.py",
"repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/debug.py"
] | [docstring]
__version__ = [string]
from jedi . api import Script , Interpreter , NotFoundError , set_debug_function
from jedi . api import preload_module , defined_names , names
from jedi import settings
repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/debug.py
import builtins
fro... | What is the type of variable RESET? | 861 | builtins.str | 881 |
SebDeclercq/OC_Projet_7 | [
"repos/SebDeclercq/OC_Projet_7/tests/unit/test_website.py",
"repos/SebDeclercq/OC_Projet_7/tests/unit/test_app_google_maps.py"
] | [comment]
import builtins
import website
import flask
[docstring]
import pytest
from flask import Response , testing
from website import website
@ pytest . fixture ( scope = [string] , autouse = True ) def client ( ) :
[docstring]
test_website = website . Website ( )
with test_website . app . app_context (... | What is the type of variable r? | 629 | flask.Response | 642 |
OCESS/orbitx | [
"repos/OCESS/orbitx/orbitx/programs/flight_training.py"
] | import argparse
import pathlib
import orbitx
import logging
import argparse
import atexit
import logging
import os
from pathlib import Path
from orbitx import common
from orbitx import physics
from orbitx import programs
from orbitx . graphics import flight_gui
log = logging . getLogger ( )
name = [str... | What is the type of variable log? | 431 | logging.Logger | 452 |
trevorbaca/desir | [
"repos/trevorbaca/desir/desir/DemoSacredReading.py"
] | import builtins
from typing import Any
import typing
import abjad
import baca
class DemoSacredReading ( object ) :
[docstring]
[comment]
__slots__ = ( )
[comment]
@ staticmethod def sacred_reading_1 ( pitch_numbers , duration ) :
from desir import calligraphs
[comment]
[comment]
[comment]
[comment... | What is the type of variable extrusion_2? | 626 | typing.Any | 650 |
Zehua-Chen/coding-interview | [
"repos/Zehua-Chen/coding-interview/leetcode-1-100/add-two-numbers/test.py"
] | from typing import Any
import typing
import unittest
from add_two_nums import add_two_nums , ListNode
class TestListNode ( unittest . TestCase ) :
def test_not_equal ( self ) :
head_a = ListNode . make_list ( [number] )
head_b = ListNode . make_list ( [number] )
self . assertNotEqual ( head_a , head_b )
d... | What is the type of variable head_b? | 396 | typing.Any | 418 |
JustFixNYC/who-owns-what | [
"repos/JustFixNYC/who-owns-what/project/apps.py",
"repos/JustFixNYC/who-owns-what/project/management/commands/raisetesterror.py"
] | from django . apps import AppConfig
class DefaultConfig ( AppConfig ) :
name = [string]
repos/JustFixNYC/who-owns-what/project/management/commands/raisetesterror.py
from typing import Any
import typing
import logging
import logging
from django . core . management . base import BaseCommand
logger = logging ... | What is the type of variable id? | 233 | typing.Any | 247 |
JustFixNYC/who-owns-what | [
"repos/JustFixNYC/who-owns-what/project/wsgi.py",
"repos/JustFixNYC/who-owns-what/project/urls.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 ( )
repos/JustFixNYC/who-owns-what/project/urls.py
from typing import List , Any
import typing
from django ... | What is the type of variable application? | 159 | typing.Any | 167 |
Team6479/Robot2019-Vision | [
"repos/Team6479/Robot2019-Vision/scripts/calibrate.py"
] | import builtins
from typing import Literal , List , Tuple , Any
import typing
import logging
import typing_extensions
import argparse
import argparse
import logging
import cv2
import numpy as np
from frc2019_vision . vision import constants , pipeline
parser = argparse . ArgumentParser ( )
parser . add_... | What is the type of variable dim? | 942 | typing.Tuple[builtins.int,builtins.int] | 973 |
fergusq/astioita | [
"repos/fergusq/astioita/application/auth/models.py"
] | from typing import Any , List , Type
import application
import builtins
import typing
from flask_sqlalchemy import sqlalchemy as sa
from sqlalchemy import orm
from sqlalchemy . sql import text
from application import db
from application . columns import Column , NonEmptyString
from application . astias . mode... | What is the type of variable name? | 507 | typing.Type[application.auth.models.User] | 534 |
zhbei/Sublime-Text-3 | [
"repos/zhbei/Sublime-Text-3/Backup/20170929091908/Anaconda/anaconda_lib/constants.py",
"repos/zhbei/Sublime-Text-3/Backup/20170929091908/Anaconda/anaconda_lib/__init__.py",
"repos/zhbei/Sublime-Text-3/Backup/20170929091908/Anaconda/anaconda_lib/contexts.py",
"repos/zhbei/Sublime-Text-3/Backup/20170929091908/A... |
[comment]
[comment]
from . . anaconda_lib import aenum as enum
class WorkerStatus ( enum . Enum ) :
[docstring]
incomplete = [number]
healthy = [number]
faulty = [number]
quiting = [number]
repos/zhbei/Sublime-Text-3/Backup/20170929091908/Anaconda/anaconda_lib/__init__.py
[comment]
[comment]
repos/z... | What is the type of variable quiting? | 349 | builtins.int | 373 |
CodeGra-de/CodeGra.de | [
"repos/CodeGra-de/CodeGra.de/cg_typing_extensions/__init__.py",
"repos/CodeGra-de/CodeGra.de/cg_dt_utils/__init__.py"
] | from typing import Any , Type , Callable , TypeVar
import typing
import builtins
[docstring]
import typing as t
T_DICT = t . TypeVar ( [string] , bound = dict ) [comment]
def make_typed_dict_extender ( base , extends_to ) : [comment]
[docstring]
def _extend ( ** kwargs ) :
base . update ( kwargs )
return ... | What is the type of variable timestamp? | 815 | builtins.float | 827 |
bheklilr/python-workshop | [
"repos/bheklilr/python-workshop/workshop1/pycalc/setup.py"
] | from typing import Any , Type
import pkg_resources
import typing
import workshop1
from setuptools import setup , find_packages
from setuptools import Command
from pkg_resources import EntryPoint , Distribution
import subprocess as sp
version = [string]
class CodeQualityCommand ( Command ) :
[docstring]
d... | What is the type of variable function_to_run? | 906 | typing.Any | 929 |
rigetti/quantumflow | [
"repos/rigetti/quantumflow/quantumflow/backend/eagerbk.py",
"repos/rigetti/quantumflow/examples/tensorflow2_fit_gate.py"
] |
[comment]
[comment]
[comment]
[comment]
from typing import Any , Literal , Union
import typing_extensions
import typing
import tensorflowbk
import builtins
[docstring]
[comment]
import math
import os
import tensorflow as tf
from tensorflow . contrib . eager . python import tfe
tfe . enable_eager_exe... | What is the type of variable astensor? | 935 | tensorflowbk.BKTensor | 947 |
utkarshsingh99/zulipChatBot | [
"repos/utkarshsingh99/zulipChatBot/zulip_bots/zulip_bots/bots/help/test_help.py",
"repos/utkarshsingh99/zulipChatBot/zulip_bots/zulip_bots/bots/incrementor/test_incrementor.py",
"repos/utkarshsingh99/zulipChatBot/zulip/integrations/perforce/zulip_perforce_config.py"
] | from typing import Tuple , List
import typing
from zulip_bots . test_lib import BotTestCase , DefaultTests
class TestHelpBot ( BotTestCase , DefaultTests ) :
bot_name = [string]
def test_bot ( self ) :
help_text = [string]
requests = [ [string] , [string] , [string] ]
dialog = [ ( request , help_text ) for r... | What is the type of variable ZULIP_IGNORE_MISSING_STREAM? | 783 | builtins.bool | 812 |
tribbloid/convnet-abstraction | [
"repos/tribbloid/convnet-abstraction/python/rnn/shared.py"
] | [comment]
[comment]
from typing import Any , List , Dict
import typing
import mxnet as mx
import numpy as np
[comment]
[comment]
context = mx . gpu ( [number] )
[comment]
[comment]
with open ( [string] , errors = [string] ) as f :
text = f . read ( )
print ( len ( text ) )
[comment]
[comment]
chars =... | What is the type of variable chars? | 944 | typing.List[builtins.str] | 970 |
maeng2418/nomadgram | [
"repos/maeng2418/nomadgram/nomadgram/__init__.py",
"repos/maeng2418/nomadgram/nomadgram/contrib/__init__.py",
"repos/maeng2418/nomadgram/nomadgram/contrib/sites/__init__.py",
"repos/maeng2418/nomadgram/nomadgram/contrib/sites/migrations/__init__.py",
"repos/maeng2418/nomadgram/nomadgram/images/tests.py",
... | from typing import Tuple , Union
import typing
__version__ = [string]
__version_info__ = tuple ( [ int ( num ) if num . isdigit ( ) else num for num in __version__ . replace ( [string] , [string] , [number] ) . split ( [string] ) ] )
repos/maeng2418/nomadgram/nomadgram/contrib/__init__.py
[docstring]
repos/maen... | What is the type of variable dependencies? | 668 | typing.List[typing.Tuple[builtins.str,builtins.str]] | 612 |
KennethJ-USC/.config | [
"repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/__init__.py",
"repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/debug.py"
] | [docstring]
__version__ = [string]
from jedi . api import Script , Interpreter , NotFoundError , set_debug_function
from jedi . api import preload_module , defined_names , names
from jedi import settings
repos/KennethJ-USC/.config/sublime-text-3/Packages/Anaconda/anaconda_lib/jedi/debug.py
import builtins
fro... | What is the type of variable MAGENTA? | 861 | builtins.str | 882 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.