text stringlengths 0 1.05M | meta dict |
|---|---|
# api.py
# Ronald L. Rivest
# July 29, 2016
# python3
"""
This is a draft API as a possible interface between the
Bayesian audit code (or other audit code) and the implementation
of the STV social choice function by Grahame Bowland.
"""
##############################################################################
#... | {
"repo_name": "ron-rivest/2016-aus-senate-audit",
"path": "rivest/api.py",
"copies": "1",
"size": "4057",
"license": "apache-2.0",
"hash": 8978367834118833000,
"line_mean": 33.6752136752,
"line_max": 97,
"alpha_frac": 0.5824500863,
"autogenerated": false,
"ratio": 4.482872928176795,
"config_tes... |
""" API relating to configuration """
from flask_restful import fields, inputs, marshal, marshal_with, Resource
from flask_security import login_required
from .base import BaseDetailResource, BaseRequestParser
from .fields import NonBlankInput
from .util import new_edit_parsers
from dockci.models.auth import Authentic... | {
"repo_name": "RickyCook/DockCI",
"path": "dockci/api/config.py",
"copies": "2",
"size": "3511",
"license": "isc",
"hash": 7396637289790822000,
"line_mean": 30.9181818182,
"line_max": 77,
"alpha_frac": 0.6550840216,
"autogenerated": false,
"ratio": 3.9943117178612058,
"config_test": false,
"h... |
""" API relating to Job model objects """
import sqlalchemy
import uuid
import flask_restful
import redis
import redis_lock
from flask import abort, request, url_for
from flask_restful import fields, inputs, marshal_with, Resource
from flask_security import current_user, login_required
from . import fields as fields... | {
"repo_name": "RickyCook/DockCI",
"path": "dockci/api/job.py",
"copies": "2",
"size": "13097",
"license": "isc",
"hash": -629299873998329900,
"line_mean": 30.7888349515,
"line_max": 76,
"alpha_frac": 0.5942582271,
"autogenerated": false,
"ratio": 3.786354437698757,
"config_test": false,
"has_... |
""" API relating to JWT authentication """
from datetime import datetime
import jwt
from flask import url_for
from flask_restful import Resource
from flask_security import current_user, login_required
from .base import BaseRequestParser
from .exceptions import OnlyMeError, WrappedTokenError, WrongAuthMethodError
fro... | {
"repo_name": "sprucedev/DockCI",
"path": "dockci/api/jwt.py",
"copies": "2",
"size": "4139",
"license": "isc",
"hash": -4344735773071061500,
"line_mean": 30.3560606061,
"line_max": 78,
"alpha_frac": 0.5834742691,
"autogenerated": false,
"ratio": 3.923222748815166,
"config_test": false,
"has_... |
""" API relating to Project model objects """
import re
import flask_restful
import sqlalchemy
from flask import request
from flask_restful import (fields,
inputs,
marshal,
marshal_with,
reqparse,
... | {
"repo_name": "sprucedev/DockCI",
"path": "dockci/api/project.py",
"copies": "2",
"size": "11089",
"license": "isc",
"hash": -8627121471096461000,
"line_mean": 29.5482093664,
"line_max": 79,
"alpha_frac": 0.6171882045,
"autogenerated": false,
"ratio": 3.8370242214532873,
"config_test": true,
... |
""" API relating to User model objects """
from flask import abort
from flask_restful import abort as rest_abort
from flask_restful import fields, inputs, marshal_with, Resource
from flask_security import current_user, login_required
from flask_security.changeable import change_user_password
from .base import BaseDeta... | {
"repo_name": "RickyCook/DockCI",
"path": "dockci/api/user.py",
"copies": "2",
"size": "7739",
"license": "isc",
"hash": 5699777016078606000,
"line_mean": 28.3143939394,
"line_max": 79,
"alpha_frac": 0.6084765474,
"autogenerated": false,
"ratio": 3.7862035225048922,
"config_test": false,
"has... |
"""APIRequestHandler subclasses for API endpoints."""
from bs4 import BeautifulSoup
from tornado.web import HTTPError, asynchronous
from tornado import gen
import pbkdf2
import logging
import yaml
from feedreader.api_request_handler import APIRequestHandler
from feedreader.database import Feed, User
logger = logging... | {
"repo_name": "tdryer/feeder",
"path": "feedreader/handlers.py",
"copies": "1",
"size": "10343",
"license": "mit",
"hash": 6250767364506751000,
"line_mean": 34.9131944444,
"line_max": 79,
"alpha_frac": 0.5246060137,
"autogenerated": false,
"ratio": 4.452432199741713,
"config_test": false,
"ha... |
'''API / request schema definitions'''
import json
import marshmallow
from marshmallow import Schema, fields, validate, post_load
class UserSchema(Schema):
id = fields.Int(dump_only=True)
name = fields.String(required=True)
email = fields.String(required=True, validate=validate.Email())
password = f... | {
"repo_name": "erik/sketches",
"path": "projects/tour-story/web/web/schema.py",
"copies": "1",
"size": "1761",
"license": "mit",
"hash": 8266283756798838000,
"line_mean": 24.5217391304,
"line_max": 67,
"alpha_frac": 0.714366837,
"autogenerated": false,
"ratio": 3.623456790123457,
"config_test":... |
"""``Api`` resource definition module.
All of the resource classes in this module are registered with
the :class:`~apiv1.api.Api` in the main :mod:`urls.py <urls>`.
"""
from django.conf.urls.defaults import url
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from tastypie impo... | {
"repo_name": "miketheman/opencomparison",
"path": "apiv1/resources.py",
"copies": "1",
"size": "6550",
"license": "mit",
"hash": -5853212242100767000,
"line_mean": 29.6074766355,
"line_max": 91,
"alpha_frac": 0.6239694656,
"autogenerated": false,
"ratio": 4.030769230769231,
"config_test": fals... |
"""``Api`` resource definition module.
All of the resource classes in this module are registered with
the :class:`~apps.apiv1.api.Api` in the main :mod:`urls.py <urls>`.
"""
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from tastypie import fields
from tastypie.bundle import... | {
"repo_name": "benracine/opencomparison",
"path": "apps/apiv1/resources.py",
"copies": "3",
"size": "6773",
"license": "mit",
"hash": 8039232565187080000,
"line_mean": 31.2523809524,
"line_max": 91,
"alpha_frac": 0.6115458438,
"autogenerated": false,
"ratio": 4.112325440194293,
"config_test": f... |
# api/resources/bucketlist.py
import datetime
from flask import request, jsonify, g, make_response, current_app
from sqlalchemy.exc import SQLAlchemyError
from common.authentication import AuthRequiredResource
from api.models import BucketList, BucketItem, db
from api.schemas import BucketItemSchema, BucketListSchema... | {
"repo_name": "Mbarak-Mbigo/cp2_bucketlist",
"path": "api/resources/bucketlist.py",
"copies": "1",
"size": "8312",
"license": "mit",
"hash": 8987224610170460000,
"line_mean": 37.128440367,
"line_max": 106,
"alpha_frac": 0.5826515881,
"autogenerated": false,
"ratio": 4.435432230522945,
"config_t... |
"""API resources"""
from __future__ import absolute_import
from builtins import object
import logging
import json
import redis
from django.contrib.auth.models import User
from django.conf.urls import url
from django.shortcuts import get_object_or_404
from django.core.cache import cache
from tastypie import fields
fro... | {
"repo_name": "pombredanne/readthedocs.org",
"path": "readthedocs/api/base.py",
"copies": "1",
"size": "9069",
"license": "mit",
"hash": 8585775235340363000,
"line_mean": 36.6307053942,
"line_max": 98,
"alpha_frac": 0.5911346345,
"autogenerated": false,
"ratio": 4.036048064085447,
"config_test"... |
"API resource templates. To be used with django-preserialize."
from copy import deepcopy
# Since this is a Lexicon subclass, the `label` is only used and merged
# into the parent object.
Chromosome = {
'fields': ['chr'],
'aliases': {
'chr': 'label',
},
'merge': True,
}
# Flat list of PubMed a... | {
"repo_name": "chop-dbhi/varify",
"path": "varify/api/templates.py",
"copies": "1",
"size": "8094",
"license": "bsd-2-clause",
"hash": 7723360675809313000,
"line_mean": 20.8167115903,
"line_max": 78,
"alpha_frac": 0.5495428713,
"autogenerated": false,
"ratio": 3.4195183776932825,
"config_test":... |
"""API routes for locations."""
from flask import jsonify, request
from werkzeug.exceptions import NotFound
from ceraon.constants import Errors
from ceraon.models.locations import Location
from ceraon.utils import RESTBlueprint
from .schema import LocationSchema
blueprint = RESTBlueprint('locations', __name__, vers... | {
"repo_name": "Rdbaker/Mealbound",
"path": "ceraon/api/v1/locations/views.py",
"copies": "1",
"size": "3391",
"license": "bsd-3-clause",
"hash": 1580708058988864800,
"line_mean": 27.7372881356,
"line_max": 76,
"alpha_frac": 0.5962842819,
"autogenerated": false,
"ratio": 4.217661691542289,
"conf... |
"""API routes for users."""
from flask import jsonify, request
from flask_login import current_user, login_required
from ceraon.constants import Errors, Success
from ceraon.errors import BadRequest, NotFound, TransactionVendorError
from ceraon.models.transactions import Transaction
from ceraon.user.models import User... | {
"repo_name": "Rdbaker/Mealbound",
"path": "ceraon/api/v1/users/api.py",
"copies": "1",
"size": "5024",
"license": "bsd-3-clause",
"hash": 961367607746053400,
"line_mean": 27.2247191011,
"line_max": 79,
"alpha_frac": 0.5929538217,
"autogenerated": false,
"ratio": 4.426431718061674,
"config_test... |
# api/schemas.py
from marshmallow import Schema, fields, pre_load
from marshmallow import validate, validates_schema, ValidationError
from flask_marshmallow import Marshmallow
ma = Marshmallow()
# Schemas do validate, serialize and deserialize models
class UserSchema(ma.Schema):
id = fields.Integer(dump_only=Tr... | {
"repo_name": "Mbarak-Mbigo/cp2_bucketlist",
"path": "api/schemas.py",
"copies": "1",
"size": "1617",
"license": "mit",
"hash": 9173479755238730000,
"line_mean": 42.7027027027,
"line_max": 91,
"alpha_frac": 0.7043908472,
"autogenerated": false,
"ratio": 3.7002288329519453,
"config_test": false,... |
"""API SDK"""
# coding:utf-8
import requests
AUTH = ('api', 'api123')
URL = 'https://api.iloft.xyz/'
HEADERS = {'content-type': 'application/json'}
def get_status(type_id, device_id):
"""Get Device Status"""
if type_id == 0:
g_controller = requests.get(
url=URL + 'controller/' + str(devi... | {
"repo_name": "myloft/API-SDK",
"path": "api.py",
"copies": "1",
"size": "2527",
"license": "mit",
"hash": -9140694339509182000,
"line_mean": 35.3382352941,
"line_max": 100,
"alpha_frac": 0.5224605423,
"autogenerated": false,
"ratio": 3.4035812672176307,
"config_test": false,
"has_no_keywords... |
"""API section, including all REST views."""
from __future__ import absolute_import
from flask import Blueprint, jsonify, request
from scanlation_cms.extensions import cache
from scanlation_cms.panel.models import News, Thanks
from scanlation_cms.utils import get_object_or_404, get_or_create
blueprint = Blueprint(
... | {
"repo_name": "dyzajash/scanlation_cms",
"path": "scanlation_cms/api/views.py",
"copies": "1",
"size": "1434",
"license": "bsd-3-clause",
"hash": 5804927955651973000,
"line_mean": 30.1739130435,
"line_max": 75,
"alpha_frac": 0.619944212,
"autogenerated": false,
"ratio": 3.6581632653061225,
"con... |
"""API serializers."""
from rest_framework import serializers
from modoboa.admin import models as admin_models
from . import models
class EmailProviderDomainSerializer(serializers.ModelSerializer):
"""Serializer class for EmailProviderDomain."""
id = serializers.IntegerField(required=False)
class Met... | {
"repo_name": "modoboa/modoboa-imap-migration",
"path": "modoboa_imap_migration/serializers.py",
"copies": "1",
"size": "2972",
"license": "isc",
"hash": -2114435977315994600,
"line_mean": 30.9569892473,
"line_max": 75,
"alpha_frac": 0.5891655451,
"autogenerated": false,
"ratio": 4.72496025437201... |
"""APIServer tests."""
import json
import unittest
import warnings
# Disable not-grouped imports that conflicts with isort
from unittest.mock import (MagicMock, Mock, patch, # pylint: disable=C0412
sentinel)
from urllib.error import HTTPError
from kytos.core.api_server import APIServer
from... | {
"repo_name": "kytos/kytos",
"path": "tests/unit/test_core/test_api_server.py",
"copies": "1",
"size": "19870",
"license": "mit",
"hash": 840866818503415400,
"line_mean": 36.4905660377,
"line_max": 79,
"alpha_frac": 0.6061902365,
"autogenerated": false,
"ratio": 3.6926221891841666,
"config_test... |
"""APIServer tests."""
import unittest
import warnings
# Disable not-grouped imports that conflicts with isort
from unittest.mock import Mock, sentinel # pylint: disable=C0412
from kytos.core.api_server import APIServer
from kytos.core.napps import rest
class TestAPIServer(unittest.TestCase):
"""Test the class ... | {
"repo_name": "cemsbr/kytos",
"path": "tests/test_core/test_api_server.py",
"copies": "5",
"size": "5133",
"license": "mit",
"hash": 5834741432479998000,
"line_mean": 32.3311688312,
"line_max": 79,
"alpha_frac": 0.5939996104,
"autogenerated": false,
"ratio": 3.9243119266055047,
"config_test": t... |
# API server URL
BASE_URL = "https://apisandbox.openbankproject.com"
API_VERSION = "v2.0.0"
API_VERSION_V210 = "v2.1.0"
API_VERSION_V220 = "v2.2.0"
# API server will redirect your browser to this URL, should be non-functional
# You will paste the redirect location here when running the script
CALLBACK_URI = 'https://ap... | {
"repo_name": "OpenBankProject/Hello-OBP-DirectLogin-Python",
"path": "props/apisandbox.py",
"copies": "1",
"size": "1108",
"license": "apache-2.0",
"hash": -3097487680187681000,
"line_mean": 33.625,
"line_max": 77,
"alpha_frac": 0.7572202166,
"autogenerated": false,
"ratio": 2.4298245614035086,
... |
#API setup
from picraft import Vector
from picraft import World, Block
def translate_left(position, data):
if data == 0:
return position - Vector(z=1)
elif data == 1:
return position + Vector(z=1)
elif data == 2:
return position + Vector(x=1)
else:
return position - Vector(x=1)
def translate_right(positio... | {
"repo_name": "SecretImbecile/McrRaspJam",
"path": "006_Picraft_advancedMinecraft/4_bench.py",
"copies": "2",
"size": "1719",
"license": "cc0-1.0",
"hash": 6105996816929934000,
"line_mean": 17.0947368421,
"line_max": 49,
"alpha_frac": 0.6527050611,
"autogenerated": false,
"ratio": 2.7996742671009... |
"""APIs exposed under the namespace ray.util.collective."""
import logging
import os
from typing import List
import numpy as np
import ray
from ray.util.collective import types
_NCCL_AVAILABLE = True
_GLOO_AVAILABLE = True
logger = logging.getLogger(__name__)
try:
from ray.util.collective.collective_group.\
... | {
"repo_name": "ray-project/ray",
"path": "python/ray/util/collective/collective.py",
"copies": "1",
"size": "25149",
"license": "apache-2.0",
"hash": -8688809361045979000,
"line_mean": 33.3538251366,
"line_max": 79,
"alpha_frac": 0.6104505508,
"autogenerated": false,
"ratio": 3.911494789236273,
... |
"""APIs for coudsync app"""
import re
from collections import namedtuple
from datetime import datetime
from urllib.parse import quote
import pytz
import boto3
from boto3.s3.transfer import TransferConfig
from botocore.exceptions import ClientError
from django.conf import settings
from django.contrib.auth.models import... | {
"repo_name": "mitodl/odl-video-service",
"path": "cloudsync/api.py",
"copies": "1",
"size": "14957",
"license": "bsd-3-clause",
"hash": -7890338256258983000,
"line_mean": 32.9931818182,
"line_max": 98,
"alpha_frac": 0.6175703684,
"autogenerated": false,
"ratio": 3.9082832505879277,
"config_tes... |
"""APIs for creating user-defined element-wise, reduction and analytic
functions.
"""
from __future__ import absolute_import
import collections
import functools
import itertools
from typing import Tuple
import numpy as np
import pandas as pd
from pandas.core.groupby import SeriesGroupBy
import ibis.client
import ib... | {
"repo_name": "cloudera/ibis",
"path": "ibis/backends/pandas/udf.py",
"copies": "1",
"size": "8896",
"license": "apache-2.0",
"hash": -2542837898634921000,
"line_mean": 30.4346289753,
"line_max": 79,
"alpha_frac": 0.6545638489,
"autogenerated": false,
"ratio": 3.89492119089317,
"config_test": f... |
"""APIs for creating user-defined element-wise, reduction and analytic
functions.
"""
from __future__ import absolute_import
import collections
import functools
import itertools
import operator
from inspect import Parameter, signature
import numpy as np
import pandas as pd
import toolz
from pandas.core.groupby impor... | {
"repo_name": "cpcloud/ibis",
"path": "ibis/pandas/udf.py",
"copies": "1",
"size": "17545",
"license": "apache-2.0",
"hash": 2698499249791031000,
"line_mean": 30.3303571429,
"line_max": 79,
"alpha_frac": 0.5628384155,
"autogenerated": false,
"ratio": 4.231789676796913,
"config_test": false,
"... |
"""APIs for discussions"""
from urllib.parse import urljoin
from django.conf import settings
from django.contrib.auth.decorators import login_required
from django.core.exceptions import ImproperlyConfigured
from django.shortcuts import redirect
from rest_framework import status
from rest_framework.authentication impor... | {
"repo_name": "mitodl/micromasters",
"path": "discussions/views.py",
"copies": "1",
"size": "3292",
"license": "bsd-3-clause",
"hash": -5373787871409946000,
"line_mean": 29.7663551402,
"line_max": 100,
"alpha_frac": 0.6868165249,
"autogenerated": false,
"ratio": 4.247741935483871,
"config_test"... |
"""API specification using OpenAPI"""
import json
import flask
from flask import current_app
import apispec
from apispec.ext.marshmallow import MarshmallowPlugin
from flask_rest_api.exceptions import OpenAPIVersionNotSpecified
from .plugins import FlaskPlugin
from .field_converters import uploadfield2properties
def... | {
"repo_name": "Nobatek/flask-rest-api",
"path": "flask_rest_api/spec/__init__.py",
"copies": "1",
"size": "10803",
"license": "mit",
"hash": 4357491691792938000,
"line_mean": 38.8597785978,
"line_max": 79,
"alpha_frac": 0.5957230143,
"autogenerated": false,
"ratio": 4.056327450244086,
"config_t... |
API_STAGE = "development"
#import warnings
#warnings.filterwarnings("ignore")
import pandas as pd
import numpy as np
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
import json
import boto3
from StringIO import S... | {
"repo_name": "tynano/slicematrixIO-python",
"path": "slicematrixIO/connect.py",
"copies": "1",
"size": "4397",
"license": "mit",
"hash": -2251121646119155700,
"line_mean": 40.0934579439,
"line_max": 164,
"alpha_frac": 0.6176938822,
"autogenerated": false,
"ratio": 3.2911676646706587,
"config_t... |
# apis_v1/controllers.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
from django.http import HttpResponse
from exception.models import handle_exception
from follow.models import FOLLOW_IGNORE, FOLLOWING, STOP_FOLLOWING
import json
from organization.models import Organization
from organization.control... | {
"repo_name": "wevote/WebAppPublic",
"path": "apis_v1/controllers.py",
"copies": "1",
"size": "5307",
"license": "bsd-3-clause",
"hash": 2482026599645766700,
"line_mean": 32.3773584906,
"line_max": 109,
"alpha_frac": 0.6195590729,
"autogenerated": false,
"ratio": 3.729444834855938,
"config_test... |
# apis_v1/documentation_source/activity_comment_save_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def activity_comment_save_doc_template_values(url_root):
"""
Show documentation about activityCommentSave
"""
required_query_parameter_list = [
{
'name': ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/activity_comment_save_doc.py",
"copies": "1",
"size": "3677",
"license": "mit",
"hash": 6458148900902329000,
"line_mean": 40.3146067416,
"line_max": 115,
"alpha_frac": 0.5023116671,
"autogenerated": false,
"ratio": 3.86645... |
# apis_v1/documentation_source/activity_list_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def activity_list_retrieve_doc_template_values(url_root):
"""
Show documentation about activityListRetrieve
"""
required_query_parameter_list = [
{
'name': ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/activity_list_retrieve_doc.py",
"copies": "1",
"size": "3444",
"license": "mit",
"hash": -5434006789622247000,
"line_mean": 40,
"line_max": 115,
"alpha_frac": 0.4854819977,
"autogenerated": false,
"ratio": 3.84804469273743... |
# apis_v1/documentation_source/activity_notice_list_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def activity_notice_list_retrieve_doc_template_values(url_root):
"""
Show documentation about activityNoticeListRetrieve
"""
required_query_parameter_list = [
{
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/activity_notice_list_retrieve_doc.py",
"copies": "1",
"size": "3004",
"license": "mit",
"hash": -5135806786990576000,
"line_mean": 38.5263157895,
"line_max": 115,
"alpha_frac": 0.5073235686,
"autogenerated": false,
"ratio"... |
# apis_v1/documentation_source/activity_post_save_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def activity_post_save_doc_template_values(url_root):
"""
Show documentation about activityPostSave
"""
required_query_parameter_list = [
{
'name': 'voter_... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/activity_post_save_doc.py",
"copies": "1",
"size": "3659",
"license": "mit",
"hash": 892841979047443100,
"line_mean": 40.1123595506,
"line_max": 115,
"alpha_frac": 0.4998633506,
"autogenerated": false,
"ratio": 3.847528916... |
# apis_v1/documentation_source/all_ballot_items_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def all_ballot_items_retrieve_doc_template_values(url_root):
"""
Show documentation about allBallotItemsRetrieve
"""
required_query_parameter_list = [
{
'na... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/all_ballot_items_retrieve_doc.py",
"copies": "1",
"size": "5230",
"license": "mit",
"hash": -3778206638191163400,
"line_mean": 45.6964285714,
"line_max": 116,
"alpha_frac": 0.4871892925,
"autogenerated": false,
"ratio": 3.... |
# apis_v1/documentation_source/analytics_action_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def analytics_action_sync_out_doc_template_values(url_root):
"""
Show documentation about analyticsActionSyncOut
"""
required_query_parameter_list = [
{
'na... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/analytics_action_sync_out_doc.py",
"copies": "1",
"size": "3928",
"license": "mit",
"hash": -499998828328813400,
"line_mean": 43.6363636364,
"line_max": 118,
"alpha_frac": 0.5211303462,
"autogenerated": false,
"ratio": 3.9... |
# apis_v1/documentation_source/ballot_item_highlights_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def ballot_item_highlights_retrieve_doc_template_values(url_root):
"""
Show documentation about ballotItemHighlightsRetrieve
"""
required_query_parameter_list = [
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/ballot_item_highlights_retrieve_doc.py",
"copies": "1",
"size": "2199",
"license": "mit",
"hash": -3801060857729798000,
"line_mean": 36.2711864407,
"line_max": 115,
"alpha_frac": 0.5093224193,
"autogenerated": false,
"rati... |
# apis_v1/documentation_source/ballot_item_options_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def ballot_item_options_retrieve_doc_template_values(url_root):
"""
Show documentation about ballotItemOptionsRetrieve
"""
required_query_parameter_list = [
{
... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/ballot_item_options_retrieve_doc.py",
"copies": "1",
"size": "6318",
"license": "mit",
"hash": -3863076275349608400,
"line_mean": 46.8636363636,
"line_max": 115,
"alpha_frac": 0.4686609687,
"autogenerated": false,
"r... |
# apis_v1/documentation_source/ballot_item_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def ballot_item_retrieve_doc_template_values(url_root):
"""
Show documentation about ballotItemRetrieve
"""
required_query_parameter_list = [
{
'name': '... | {
"repo_name": "wevote/WebAppPublic",
"path": "apis_v1/documentation_source/ballot_item_retrieve_doc.py",
"copies": "3",
"size": "3535",
"license": "bsd-3-clause",
"hash": 1708840812524117200,
"line_mean": 44.3205128205,
"line_max": 115,
"alpha_frac": 0.5717114569,
"autogenerated": false,
"ratio":... |
# apis_v1/documentation_source/ballot_items_search_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def ballot_items_search_retrieve_doc_template_values(url_root):
"""
Show documentation about ballotItemsSearchRetrieve: NOT FULLY IMPLEMENTED - see ballotItemOptionsRetrieve instead... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/ballot_items_search_retrieve_doc.py",
"copies": "1",
"size": "5311",
"license": "mit",
"hash": -1901455732847314700,
"line_mean": 46.4196428571,
"line_max": 117,
"alpha_frac": 0.4933157597,
"autogenerated": false,
"ratio":... |
# apis_v1/documentation_source/ballot_items_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def ballot_items_sync_out_doc_template_values(url_root):
"""
Show documentation about ballotItemsSyncOut
"""
optional_query_parameter_list = [
{
'name': ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/ballot_items_sync_out_doc.py",
"copies": "2",
"size": "2552",
"license": "mit",
"hash": 6089575072113673000,
"line_mean": 38.875,
"line_max": 108,
"alpha_frac": 0.5023510972,
"autogenerated": false,
"ratio": 3.730994152046... |
# apis_v1/documentation_source/ballot_returned_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def ballot_returned_sync_out_doc_template_values(url_root):
"""
Show documentation about ballotReturnedSyncOut
"""
optional_query_parameter_list = [
{
'name'... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/ballot_returned_sync_out_doc.py",
"copies": "2",
"size": "2298",
"license": "mit",
"hash": 5692286390411458000,
"line_mean": 36.6721311475,
"line_max": 118,
"alpha_frac": 0.5134899913,
"autogenerated": false,
"ratio"... |
# apis_v1/documentation_source/campaign_follow_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def campaign_follow_doc_template_values(url_root):
"""
Show documentation about campaignFollow
"""
required_query_parameter_list = [
{
'name': 'voter_device_i... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/campaign_follow_doc.py",
"copies": "1",
"size": "2687",
"license": "mit",
"hash": -977698929311042800,
"line_mean": 34.3552631579,
"line_max": 115,
"alpha_frac": 0.5094901377,
"autogenerated": false,
"ratio": 3.91690962099... |
# apis_v1/documentation_source/campaign_list_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def campaign_list_retrieve_doc_template_values(url_root):
"""
Show documentation about campaignListRetrieve (No CDN)
"""
required_query_parameter_list = [
{
'n... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/campaign_list_retrieve_doc.py",
"copies": "1",
"size": "5318",
"license": "mit",
"hash": -5573113656177673000,
"line_mean": 46.0619469027,
"line_max": 115,
"alpha_frac": 0.4539300489,
"autogenerated": false,
"ratio": 3.724... |
# apis_v1/documentation_source/campaign_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def campaign_retrieve_doc_template_values(url_root):
"""
Show documentation about campaignRetrieve (CDN) & campaignRetrieveAsOwner (No CDN)
"""
required_query_parameter_list = [
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/campaign_retrieve_doc.py",
"copies": "1",
"size": "6198",
"license": "mit",
"hash": -3912782342938946600,
"line_mean": 45.9545454545,
"line_max": 115,
"alpha_frac": 0.4503065505,
"autogenerated": false,
"ratio": 3.69368295... |
# apis_v1/documentation_source/campaign_save_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def campaign_save_doc_template_values(url_root):
"""
Show documentation about campaignSave & campaignStartSave
"""
required_query_parameter_list = [
{
'name': '... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/campaign_save_doc.py",
"copies": "1",
"size": "3030",
"license": "mit",
"hash": -7337227193971249000,
"line_mean": 36.4074074074,
"line_max": 115,
"alpha_frac": 0.5095709571,
"autogenerated": false,
"ratio": 3.889602053915... |
# apis_v1/documentation_source/campaign_supporter_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def campaign_supporter_retrieve_doc_template_values(url_root):
"""
Show documentation about campaignSupporterRetrieve
"""
required_query_parameter_list = [
{
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/campaign_supporter_retrieve_doc.py",
"copies": "1",
"size": "2915",
"license": "mit",
"hash": -4449842327457139700,
"line_mean": 37.8666666667,
"line_max": 115,
"alpha_frac": 0.522813036,
"autogenerated": false,
"ratio": 3... |
# apis_v1/documentation_source/campaign_supporter_save_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def campaign_supporter_save_doc_template_values(url_root):
"""
Show documentation about campaignSupporterSave
"""
required_query_parameter_list = [
{
'name': ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/campaign_supporter_save_doc.py",
"copies": "1",
"size": "4554",
"license": "mit",
"hash": -3086231619119143400,
"line_mean": 38.6,
"line_max": 115,
"alpha_frac": 0.5035133948,
"autogenerated": false,
"ratio": 3.94969644405... |
# apis_v1/documentation_source/candidate_list_for_upcoming_elections_retrieve.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def doc_template_values(url_root):
"""
Show documentation about candidateListForUpcomingElectionsRetrieve
"""
required_query_parameter_list = [
{
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/candidate_list_for_upcoming_elections_retrieve_doc.py",
"copies": "1",
"size": "2869",
"license": "mit",
"hash": 7931787893223635000,
"line_mean": 37.2533333333,
"line_max": 114,
"alpha_frac": 0.5130707564,
"autogenerated": ... |
# apis_v1/documentation_source/candidate_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def candidate_retrieve_doc_template_values(url_root):
"""
Show documentation about candidateRetrieve
"""
required_query_parameter_list = [
{
'name': 'voter... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/candidate_retrieve_doc.py",
"copies": "1",
"size": "5074",
"license": "mit",
"hash": -3340478527769224000,
"line_mean": 45.1272727273,
"line_max": 115,
"alpha_frac": 0.4897516752,
"autogenerated": false,
"ratio": 3.9151234... |
# apis_v1/documentation_source/candidates_retrieve.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def candidates_retrieve_doc_template_values(url_root):
"""
Show documentation about candidatesRetrieve
"""
required_query_parameter_list = [
{
'name': 'office... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/candidates_retrieve_doc.py",
"copies": "1",
"size": "3927",
"license": "mit",
"hash": 5229742567141294000,
"line_mean": 42.1538461538,
"line_max": 115,
"alpha_frac": 0.4871403107,
"autogenerated": false,
"ratio": 3.8997020... |
# apis_v1/documentation_source/candidates_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def candidates_sync_out_doc_template_values(url_root):
"""
Show documentation about candidatesSyncOut
"""
optional_query_parameter_list = [
{
'name': 'goo... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/candidates_sync_out_doc.py",
"copies": "1",
"size": "4698",
"license": "mit",
"hash": 869763949454562000,
"line_mean": 45.0588235294,
"line_max": 105,
"alpha_frac": 0.4650915283,
"autogenerated": false,
"ratio": 3.70... |
# apis_v1/documentation_source/candidate_to_office_link_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def candidate_to_office_link_sync_out_doc_template_values(url_root):
"""
Show documentation about candidateToOfficeLinkSyncOut
"""
optional_query_parameter_list = [
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/candidate_to_office_link_sync_out_doc.py",
"copies": "1",
"size": "1910",
"license": "mit",
"hash": 4035975722121712600,
"line_mean": 35.0377358491,
"line_max": 115,
"alpha_frac": 0.5492146597,
"autogenerated": false,
"rat... |
# apis_v1/documentation_source/device_id_generate_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def device_id_generate_doc_template_values(url_root):
"""
Show documentation about deviceIdGenerate
"""
required_query_parameter_list = [
{
'name': 'api_ke... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/device_id_generate_doc.py",
"copies": "3",
"size": "1601",
"license": "mit",
"hash": 1903585928250587100,
"line_mean": 37.119047619,
"line_max": 115,
"alpha_frac": 0.5996252342,
"autogenerated": false,
"ratio": 3.758... |
# apis_v1/documentation_source/device_id_generate_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def device_store_firebase_fcm_token_doc_template_values(url_root):
"""
Show documentation about deviceStoreFirebaseCloudMessagingToken
"""
required_query_parameter_list = [
{
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/device_store_firebase_fcm_token_doc.py",
"copies": "1",
"size": "2610",
"license": "mit",
"hash": -7127808258742012000,
"line_mean": 42.5,
"line_max": 120,
"alpha_frac": 0.5846743295,
"autogenerated": false,
"ratio": 3.907... |
# apis_v1/documentation_source/_documentation_template.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
# This is a template (starting point) for creating documentation for individual APIs
def PUT_NAME_HERE_doc_template_values(url_root):
"""
Show documentation about voterRetrieve
"""
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/_documentation_template.py",
"copies": "3",
"size": "2586",
"license": "mit",
"hash": 4162939031492961000,
"line_mean": 34.4246575342,
"line_max": 117,
"alpha_frac": 0.5197215777,
"autogenerated": false,
"ratio": 3.8424962... |
# apis_v1/documentation_source/donation_with_stripe_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def donation_with_stripe_doc_template_values(url_root):
"""
Show documentation about donationWithStripe
"""
required_query_parameter_list = [
{
'name': '... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/donation_with_stripe_doc.py",
"copies": "2",
"size": "3042",
"license": "mit",
"hash": -4574584969128191500,
"line_mean": 36.0975609756,
"line_max": 115,
"alpha_frac": 0.5164365549,
"autogenerated": false,
"ratio": 4.01319... |
# apis_v1/documentation_source/elections_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def elections_retrieve_doc_template_values(url_root):
"""
Show documentation about electionsRetrieve
"""
required_query_parameter_list = [
{
'name': 'api_k... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/elections_retrieve_doc.py",
"copies": "1",
"size": "2744",
"license": "mit",
"hash": 6567108115151647000,
"line_mean": 38.768115942,
"line_max": 115,
"alpha_frac": 0.4788629738,
"autogenerated": false,
"ratio": 3.832402234... |
# apis_v1/documentation_source/elections_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def elections_sync_out_doc_template_values(url_root):
"""
Show documentation about electionsSyncOut
"""
required_query_parameter_list = [
{
'name': 'api_ke... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/elections_sync_out_doc.py",
"copies": "2",
"size": "2497",
"license": "mit",
"hash": 2544682974262196000,
"line_mean": 38.6349206349,
"line_max": 115,
"alpha_frac": 0.529835803,
"autogenerated": false,
"ratio": 3.841... |
# apis_v1/documentation_source/email_ballot_data_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def email_ballot_data_doc_template_values(url_root):
"""
Show documentation about emailBallotData
"""
required_query_parameter_list = [
{
'name': 'voter_dev... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/email_ballot_data_doc.py",
"copies": "2",
"size": "3818",
"license": "mit",
"hash": -5429811578026439000,
"line_mean": 37.9591836735,
"line_max": 115,
"alpha_frac": 0.5170246202,
"autogenerated": false,
"ratio": 4.02742616... |
# apis_v1/documentation_source/facebook_disconnect_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def facebook_disconnect_doc_template_values(url_root):
"""
Show documentation about facebookDisconnect
"""
required_query_parameter_list = [
{
'name': 'vo... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/facebook_disconnect_doc.py",
"copies": "3",
"size": "2301",
"license": "mit",
"hash": 2315311794173355500,
"line_mean": 33.8636363636,
"line_max": 115,
"alpha_frac": 0.5310734463,
"autogenerated": false,
"ratio": 3.8868243... |
# apis_v1/documentation_source/facebook_friends_action_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def facebook_friends_action_doc_template_values(url_root):
"""
Show documentation about facebookFriendsAction
"""
required_query_parameter_list = [
{
'name': ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/facebook_friends_action_doc.py",
"copies": "2",
"size": "2291",
"license": "mit",
"hash": -473836297853697700,
"line_mean": 36.5573770492,
"line_max": 115,
"alpha_frac": 0.5591444784,
"autogenerated": false,
"ratio": 3.850... |
# apis_v1/documentation_source/facebook_sign_in_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def facebook_sign_in_doc_template_values(url_root):
"""
Show documentation about facebookSignIn
"""
required_query_parameter_list = [
{
'name': 'voter_device... | {
"repo_name": "wevote/WebAppPublic",
"path": "apis_v1/documentation_source/facebook_sign_in_doc.py",
"copies": "1",
"size": "2777",
"license": "bsd-3-clause",
"hash": 43409404100121030,
"line_mean": 34.6025641026,
"line_max": 115,
"alpha_frac": 0.5066618653,
"autogenerated": false,
"ratio": 3.905... |
# apis_v1/documentation_source/friend_invitation_by_email_send_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_invitation_by_email_send_doc_template_values(url_root):
"""
Show documentation about friendInvitationByEmailSend
"""
required_query_parameter_list = [
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/friend_invitation_by_email_send_doc.py",
"copies": "2",
"size": "3653",
"license": "mit",
"hash": -3260672754217835000,
"line_mean": 38.7065217391,
"line_max": 115,
"alpha_frac": 0.5291541199,
"autogenerated": false,
"rati... |
# apis_v1/documentation_source/friend_invitation_by_email_verify_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_invitation_by_email_verify_doc_template_values(url_root):
"""
Show documentation about friendInvitationByEmailVerify
"""
required_query_parameter_list = [
... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/friend_invitation_by_email_verify_doc.py",
"copies": "2",
"size": "2814",
"license": "mit",
"hash": 7977120746514978000,
"line_mean": 39.2,
"line_max": 115,
"alpha_frac": 0.5554371002,
"autogenerated": false,
"ratio"... |
# apis_v1/documentation_source/friend_invitation_by_facebook_send_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_invitation_by_facebook_send_doc_template_values(url_root):
"""
Show documentation about friendInvitationByFacebookSend
"""
required_query_parameter_list = [... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/friend_invitation_by_facebook_send_doc.py",
"copies": "2",
"size": "2930",
"license": "mit",
"hash": -4508523324656641000,
"line_mean": 37.0519480519,
"line_max": 108,
"alpha_frac": 0.5686006826,
"autogenerated": false,
"r... |
# apis_v1/documentation_source/friend_invitation_by_facebook_verify_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_invitation_by_facebook_verify_doc_template_values(url_root):
"""
Show documentation about friendInvitationByFacebookVerify
"""
required_query_parameter_li... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/friend_invitation_by_facebook_verify_doc.py",
"copies": "2",
"size": "2896",
"license": "mit",
"hash": -2811840169981980700,
"line_mean": 36.6103896104,
"line_max": 108,
"alpha_frac": 0.5666436464,
"autogenerated": false,
... |
# apis_v1/documentation_source/friend_invitation_by_we_vote_id_send_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_invitation_by_we_vote_id_send_doc_template_values(url_root):
"""
Show documentation about friendInvitationByWeVoteIdSend
"""
required_query_parameter_list... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/friend_invitation_by_we_vote_id_send_doc.py",
"copies": "2",
"size": "2771",
"license": "mit",
"hash": -1510976801737101800,
"line_mean": 37.4861111111,
"line_max": 115,
"alpha_frac": 0.5478166727,
"autogenerated": fal... |
# apis_v1/documentation_source/friend_invitation_information_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_invitation_information_doc_template_values(url_root):
"""
Show documentation about friendInvitationInformation
"""
required_query_parameter_list = [
{
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/friend_invitation_information_doc.py",
"copies": "1",
"size": "3134",
"license": "mit",
"hash": 9023239233887531000,
"line_mean": 40.2368421053,
"line_max": 115,
"alpha_frac": 0.5366943204,
"autogenerated": false,
"ratio":... |
# apis_v1/documentation_source/friend_invite_response_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_invite_response_doc_template_values(url_root):
"""
Show documentation about friendInviteResponse
"""
required_query_parameter_list = [
{
'name': ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/friend_invite_response_doc.py",
"copies": "2",
"size": "3789",
"license": "mit",
"hash": -4463780854671962000,
"line_mean": 40.6373626374,
"line_max": 115,
"alpha_frac": 0.5054103985,
"autogenerated": false,
"ratio": 3.866... |
# apis_v1/documentation_source/friend_list_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_list_doc_template_values(url_root):
"""
Show documentation about friendList
"""
required_query_parameter_list = [
{
'name': 'voter_device_id',
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/friend_list_doc.py",
"copies": "1",
"size": "4261",
"license": "mit",
"hash": 1444219918554994400,
"line_mean": 42.4795918367,
"line_max": 115,
"alpha_frac": 0.4874442619,
"autogenerated": false,
"ratio": 3.814682184422560... |
# apis_v1/documentation_source/friend_lists_all_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def friend_lists_all_doc_template_values(url_root):
"""
Show documentation about friendListsAll
"""
required_query_parameter_list = [
{
'name': 'voter_device... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/friend_lists_all_doc.py",
"copies": "1",
"size": "2926",
"license": "mit",
"hash": 4498508388568941600,
"line_mean": 39.6388888889,
"line_max": 138,
"alpha_frac": 0.525290499,
"autogenerated": false,
"ratio": 3.91700133868... |
# apis_v1/documentation_source/issue_descriptions_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issue_descriptions_retrieve_doc_template_values(url_root):
"""
Show documentation about issueDescriptionsRetrieve
"""
optional_query_parameter_list = [
]
potenti... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issue_descriptions_retrieve_doc.py",
"copies": "1",
"size": "1741",
"license": "mit",
"hash": 8978101055952310000,
"line_mean": 33.82,
"line_max": 71,
"alpha_frac": 0.4974152786,
"autogenerated": false,
"ratio": 3.71215351... |
# apis_v1/documentation_source/issue_follow_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issue_follow_doc_template_values(url_root):
"""
Show documentation about issueFollow
"""
required_query_parameter_list = [
{
'name': 'voter_device_id',
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issue_follow_doc.py",
"copies": "2",
"size": "3072",
"license": "mit",
"hash": -6527028708349916000,
"line_mean": 34.7209302326,
"line_max": 115,
"alpha_frac": 0.4964192708,
"autogenerated": false,
"ratio": 3.9741267787839... |
# apis_v1/documentation_source/issues_followed_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issues_followed_retrieve_doc_template_values(url_root):
"""
Show documentation about issuesFollowedRetrieve
"""
optional_query_parameter_list = [
{
'name... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issues_followed_retrieve_doc.py",
"copies": "1",
"size": "1702",
"license": "mit",
"hash": -7241087734314464000,
"line_mean": 32.3725490196,
"line_max": 102,
"alpha_frac": 0.5129259694,
"autogenerated": false,
"ratio": 3.7... |
# apis_v1/documentation_source/issues_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issues_linked_to_organization_doc_template_values(url_root):
"""
Show documentation about issuesLinkedToOrganization
"""
optional_query_parameter_list = [
{
'name... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issues_linked_to_organization_doc.py",
"copies": "1",
"size": "1866",
"license": "mit",
"hash": 1062331184821039200,
"line_mean": 33.5555555556,
"line_max": 71,
"alpha_frac": 0.4994640943,
"autogenerated": false,
"ratio": ... |
# apis_v1/documentation_source/issues_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issues_retrieve_doc_template_values(url_root):
"""
Show documentation about issuesRetrieve
"""
optional_query_parameter_list = [
{
'name': 'voter_device_id',
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issues_retrieve_doc.py",
"copies": "1",
"size": "4796",
"license": "mit",
"hash": -7849024197543433000,
"line_mean": 43,
"line_max": 120,
"alpha_frac": 0.4305671393,
"autogenerated": false,
"ratio": 3.9279279279279278,
"... |
# apis_v1/documentation_source/issues_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issues_to_link_to_for_organization_doc_template_values(url_root):
"""
Show documentation about issuesToLinkToForOrganization
"""
optional_query_parameter_list = [
{
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issues_to_link_to_for_organization_doc.py",
"copies": "1",
"size": "1884",
"license": "mit",
"hash": 7230866504147912000,
"line_mean": 33.8888888889,
"line_max": 71,
"alpha_frac": 0.5026539278,
"autogenerated": false,
"rat... |
# apis_v1/documentation_source/issues_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_link_to_issue_doc_template_values(url_root):
"""
Show documentation about organizationLinkToIssue
"""
optional_query_parameter_list = [
{
'name': 'or... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_link_to_issue_doc.py",
"copies": "1",
"size": "3568",
"license": "mit",
"hash": 7969354435739001000,
"line_mean": 40.488372093,
"line_max": 118,
"alpha_frac": 0.5008408072,
"autogenerated": false,
"ratio": 3.8... |
# apis_v1/documentation_source/issues_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def retrieve_issues_to_follow_doc_template_values(url_root):
"""
Show documentation about retrieveIssuesToFollowDocs
"""
optional_query_parameter_list = [
{
'name': ... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/retrieve_issues_to_follow_doc.py",
"copies": "2",
"size": "2290",
"license": "mit",
"hash": -1380089438583744000,
"line_mean": 36.5409836066,
"line_max": 115,
"alpha_frac": 0.503930131,
"autogenerated": false,
"ratio... |
# apis_v1/documentation_source/issues_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issues_sync_out_doc_template_values(url_root):
"""
Show documentation about issuesSyncOut
"""
optional_query_parameter_list = [
]
potential_status_codes_list = [
]
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issues_sync_out_doc.py",
"copies": "2",
"size": "1481",
"license": "mit",
"hash": 8685364467365300000,
"line_mean": 31.9111111111,
"line_max": 71,
"alpha_frac": 0.5273463876,
"autogenerated": false,
"ratio": 3.509478672985... |
# apis_v1/documentation_source/issues_under_ballot_items_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def issues_under_ballot_items_retrieve_doc_template_values(url_root):
"""
Show documentation about issuesUnderBallotItemsRetrieve
"""
optional_query_parameter_list = [... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/issues_under_ballot_items_retrieve_doc.py",
"copies": "1",
"size": "1591",
"license": "mit",
"hash": -4281437256716536300,
"line_mean": 31.4693877551,
"line_max": 72,
"alpha_frac": 0.5047140163,
"autogenerated": false,
"ra... |
# apis_v1/documentation_source/measure_list_for_upcoming_elections_retrieve.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def doc_template_values(url_root):
"""
Show documentation about measureListForUpcomingElectionsRetrieve
"""
required_query_parameter_list = [
{
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/measure_list_for_upcoming_elections_retrieve_doc.py",
"copies": "1",
"size": "3192",
"license": "mit",
"hash": 3495424889469021000,
"line_mean": 38.9,
"line_max": 116,
"alpha_frac": 0.5025062657,
"autogenerated": false,
"r... |
# apis_v1/documentation_source/measure_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def measure_retrieve_doc_template_values(url_root):
"""
Show documentation about measureRetrieve
"""
required_query_parameter_list = [
{
'name': 'voter_devic... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/measure_retrieve_doc.py",
"copies": "1",
"size": "4333",
"license": "mit",
"hash": 6388755428075915000,
"line_mean": 41.067961165,
"line_max": 115,
"alpha_frac": 0.4825755827,
"autogenerated": false,
"ratio": 3.94267515923... |
# apis_v1/documentation_source/measures_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def measures_sync_out_doc_template_values(url_root):
"""
Show documentation about measuresSyncOut
"""
optional_query_parameter_list = [
{
'name': 'google_ci... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/measures_sync_out_doc.py",
"copies": "2",
"size": "2688",
"license": "mit",
"hash": 5273942164279198000,
"line_mean": 37.9565217391,
"line_max": 103,
"alpha_frac": 0.4847470238,
"autogenerated": false,
"ratio": 3.697386519... |
# apis_v1/documentation_source/office_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def office_retrieve_doc_template_values(url_root):
"""
Show documentation about officeRetrieve
"""
required_query_parameter_list = [
{
'name': 'voter_device_i... | {
"repo_name": "wevote/WebAppPublic",
"path": "apis_v1/documentation_source/office_retrieve_doc.py",
"copies": "1",
"size": "3825",
"license": "bsd-3-clause",
"hash": 853299510410590500,
"line_mean": 41.5,
"line_max": 115,
"alpha_frac": 0.5035294118,
"autogenerated": false,
"ratio": 3.903061224489... |
# apis_v1/documentation_source/offices_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def offices_sync_out_doc_template_values(url_root):
"""
Show documentation about officesSyncOut
"""
optional_query_parameter_list = [
{
'name': 'google_civic... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/offices_sync_out_doc.py",
"copies": "1",
"size": "3303",
"license": "mit",
"hash": 684333088313877500,
"line_mean": 39.2804878049,
"line_max": 105,
"alpha_frac": 0.4647290342,
"autogenerated": false,
"ratio": 3.60983606557... |
# apis_v1/documentation_source/organization_analytics_by_voter_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_analytics_by_voter_doc_template_values(url_root):
"""
Show documentation about organizationAnalyticsByVoter
"""
required_query_parameter_list = [
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_analytics_by_voter_doc.py",
"copies": "1",
"size": "5087",
"license": "mit",
"hash": 7759375510974800000,
"line_mean": 44.017699115,
"line_max": 115,
"alpha_frac": 0.4890898368,
"autogenerated": false,
"ratio"... |
# apis_v1/documentation_source/organization_count_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_count_doc_template_values(url_root):
"""
Show documentation about organizationCount
"""
required_query_parameter_list = [
{
'name': 'api_k... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_count_doc.py",
"copies": "1",
"size": "2005",
"license": "mit",
"hash": 7428716046626947000,
"line_mean": 31.3387096774,
"line_max": 115,
"alpha_frac": 0.5067331671,
"autogenerated": false,
"ratio": 3.84836852... |
# apis_v1/documentation_source/organization_daily_metrics_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_daily_metrics_sync_out_doc_template_values(url_root):
"""
Show documentation about organizationDailyMetricsSyncOut
"""
required_query_parameter_list ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_daily_metrics_sync_out_doc.py",
"copies": "1",
"size": "3949",
"license": "mit",
"hash": -4626585866079073000,
"line_mean": 44.3908045977,
"line_max": 118,
"alpha_frac": 0.5330463408,
"autogenerated": false,
"... |
# apis_v1/documentation_source/organization_election_metrics_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_election_metrics_sync_out_doc_template_values(url_root):
"""
Show documentation about organizationElectionMetricsSyncOut
"""
required_query_parame... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_election_metrics_sync_out_doc.py",
"copies": "1",
"size": "4338",
"license": "mit",
"hash": 6179106826238518000,
"line_mean": 46.6703296703,
"line_max": 120,
"alpha_frac": 0.5398801291,
"autogenerated": false,
... |
# apis_v1/documentation_source/organization_follow_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_follow_doc_template_values(url_root):
"""
Show documentation about organizationFollow
"""
required_query_parameter_list = [
{
'name': 'vo... | {
"repo_name": "wevote/WebAppPublic",
"path": "apis_v1/documentation_source/organization_follow_doc.py",
"copies": "1",
"size": "3606",
"license": "bsd-3-clause",
"hash": 5585276765637375000,
"line_mean": 39.5168539326,
"line_max": 115,
"alpha_frac": 0.5343871326,
"autogenerated": false,
"ratio": ... |
# apis_v1/documentation_source/organization_follow_ignore_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_follow_ignore_doc_template_values(url_root):
"""
Show documentation about organizationFollowIgnore
"""
required_query_parameter_list = [
{
... | {
"repo_name": "jainanisha90/WeVoteServer",
"path": "apis_v1/documentation_source/organization_follow_ignore_doc.py",
"copies": "3",
"size": "3650",
"license": "mit",
"hash": -4766013468534955000,
"line_mean": 40.0112359551,
"line_max": 115,
"alpha_frac": 0.5389041096,
"autogenerated": false,
"rat... |
# apis_v1/documentation_source/organization_index_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_index_doc_template_values(url_root):
"""
Show documentation about organizationIndex
"""
required_query_parameter_list = [
]
optional_query_parameter_list = [
... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_index_doc.py",
"copies": "1",
"size": "1421",
"license": "mit",
"hash": -5332946353843226000,
"line_mean": 33.6585365854,
"line_max": 114,
"alpha_frac": 0.6389866291,
"autogenerated": false,
"ratio": 3.5883838... |
# apis_v1/documentation_source/organization_link_to_issue_sync_out_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_link_to_issue_sync_out_doc_template_values(url_root):
"""
Show documentation about organizationLinkToIssueSyncOut
"""
optional_query_parameter_list =... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_link_to_issue_sync_out_doc.py",
"copies": "1",
"size": "1662",
"license": "mit",
"hash": -3765318291489627600,
"line_mean": 35.9333333333,
"line_max": 95,
"alpha_frac": 0.5776173285,
"autogenerated": false,
"r... |
# apis_v1/documentation_source/organization_photos_save_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_photos_save_doc_template_values(url_root):
"""
Show documentation about organizationPhotosSave
"""
required_query_parameter_list = [
{
'name... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_photos_save_doc.py",
"copies": "1",
"size": "5192",
"license": "mit",
"hash": -4892094290590171000,
"line_mean": 44.147826087,
"line_max": 115,
"alpha_frac": 0.5337057011,
"autogenerated": false,
"ratio": 4.33... |
# apis_v1/documentation_source/organization_retrieve_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_retrieve_doc_template_values(url_root):
"""
Show documentation about organizationRetrieve
"""
required_query_parameter_list = [
{
'name': ... | {
"repo_name": "wevote/WeVoteServer",
"path": "apis_v1/documentation_source/organization_retrieve_doc.py",
"copies": "1",
"size": "4558",
"license": "mit",
"hash": -1014443539363234700,
"line_mean": 43.6862745098,
"line_max": 119,
"alpha_frac": 0.5276437034,
"autogenerated": false,
"ratio": 4.1893... |
# apis_v1/documentation_source/organization_save_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_save_doc_template_values(url_root):
"""
Show documentation about organizationSave
"""
required_query_parameter_list = [
{
'name': 'voter_de... | {
"repo_name": "wevote/WebAppPublic",
"path": "apis_v1/documentation_source/organization_save_doc.py",
"copies": "1",
"size": "6493",
"license": "bsd-3-clause",
"hash": 4874754180948963000,
"line_mean": 45.0496453901,
"line_max": 120,
"alpha_frac": 0.5173263515,
"autogenerated": false,
"ratio": 4.... |
# apis_v1/documentation_source/organization_search_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def organization_search_doc_template_values(url_root):
"""
Show documentation about organizationSearch
"""
required_query_parameter_list = [
{
'name': 'vo... | {
"repo_name": "wevote/WebAppPublic",
"path": "apis_v1/documentation_source/organization_search_doc.py",
"copies": "1",
"size": "4594",
"license": "bsd-3-clause",
"hash": -1202418183420387800,
"line_mean": 41.537037037,
"line_max": 115,
"alpha_frac": 0.5156726165,
"autogenerated": false,
"ratio": ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.