MCPcopy Create free account

hub / github.com/Yeraze/CalendarHangout / functions

Functions465 in github.com/Yeraze/CalendarHangout

↓ 55 callersMethodget
Get deserialized JSON schema from the schema name. Args: name: string, Schema name.
apiclient/schema.py:158
↓ 27 callersMethodget
(self, key)
httplib2/__init__.py:702
↓ 15 callersMethodget
Retrieve credential. The Storage lock must *not* be held when this is called. Returns: oauth2client.client.Credentials
oauth2client/client.py:301
↓ 15 callersMethodupdate
Update a channel with information from the response of watch(). When a request is sent to watch() a resource, the response returned from the
apiclient/channel.py:211
↓ 11 callersMethod__init__
If 'cache' is a string then it is used as a directory name for a disk cache. Otherwise it must be an object that supports the same int
httplib2/__init__.py:1139
↓ 10 callersMethodemitEnd
Add text and comment to the output with line terminator. Args: text: string, Text to output. comment: string, Python comment.
apiclient/schema.py:215
↓ 10 callersFunctioniri2uri
Convert an IRI to a URI. Note that IRIs must be passed in a unicode strings. That is, do not utf-8 encode the IRI before passing it into the f
httplib2/iri2uri.py:65
↓ 8 callersFunction_abstract
()
oauth2client/client.py:102
↓ 8 callersMethodrequest
Performs a single HTTP request. The 'uri' is the URI of the HTTP resource and can begin with either 'http' or 'https'. The value of
httplib2/__init__.py:1387
↓ 8 callersMethodsize
Size of upload. Returns: Size of the body, or None of the size is unknown.
apiclient/http.py:156
↓ 7 callersMethod__recvall
__recvall(count) -> data Receive EXACTLY the number of bytes requested from the socket. Blocks until the required number of bytes have
httplib2/socks.py:133
↓ 7 callersFunction_parse_www_authenticate
Returns a dictionary of dictionaries, one dict per auth_scheme.
httplib2/__init__.py:289
↓ 7 callersMethodread
Read n bytes. Args: n, int, the number of bytes to read. Returns: A string of length 'n', or less if EOF is reached.
apiclient/http.py:593
↓ 7 callersMethodset_store
Set the Storage for the credential. Args: store: Storage, an implementation of Stroage object. This is needed to store the latest a
oauth2client/client.py:590
↓ 7 callersMethodto_json
Creating a JSON representation of an instance of Credentials. Returns: string, a JSON representation of this instance, suitable to pass to
oauth2client/client.py:195
↓ 6 callersMethodfile_handle
The file handle to the file. Valid only after opened.
oauth2client/locked_file.py:78
↓ 6 callersMethodnew_from_json
Utility class method to instantiate a Credentials subclass from a JSON representation produced by to_json(). Args: s: string, JSON from
oauth2client/client.py:205
↓ 6 callersMethodrequest
(self, uri, method='GET', body=None, headers=None, red
apiclient/http.py:1465
↓ 6 callersMethodsendall
override socket.socket.sendall method to rewrite the header for non-tunneling proxies if needed
httplib2/socks.py:145
↓ 5 callersFunction_parse_cache_control
(headers)
httplib2/__init__.py:266
↓ 5 callersMethodchunksize
Chunk size for resumable uploads. Returns: Chunk size in bytes.
apiclient/http.py:140
↓ 5 callersMethodconnect
Connect to the host and port specified in __init__.
httplib2/__init__.py:864
↓ 5 callersMethoddelete
Delete credential. Frees any resources associated with storing the credential. The Storage lock must *not* be held when this is called.
oauth2client/client.py:329
↓ 5 callersMethodget
(self)
oauth2client/appengine.py:844
↓ 5 callersFunctionparse_uri
Parses a URI using the regex given in Appendix B of RFC 3986. (scheme, authority, path, query, fragment) = parse_uri(uri)
httplib2/__init__.py:207
↓ 5 callersMethodput
Write a credential. The Storage lock must be held when this is called. Args: credentials: Credentials, the credentials to store.
oauth2client/client.py:315
↓ 5 callersMethodstep2_exchange
Exhanges a code for OAuth2Credentials. Args: code: string or dict, either the code as a string, or a dictionary of the query parame
oauth2client/client.py:1237
↓ 4 callersFunction_abstract
()
apiclient/model.py:38
↓ 4 callersFunction_add_query_parameter
Adds a query parameter to a url. Replaces the current value if it already exists in the URL. Args: url: string, url to add the query paramet
oauth2client/util.py:176
↓ 4 callersMethod_set_dynamic_attr
Sets an instance attribute and tracks it in a list of dynamic attributes. Args: attr_name: string; The name of the attribute to be set
apiclient/discovery.py:859
↓ 4 callersMethodacquire_lock
Acquires any lock necessary to access this Storage. This lock is not reentrant.
oauth2client/client.py:259
↓ 4 callersMethoddelete
(self, key)
httplib2/__init__.py:719
↓ 4 callersMethodemit
Add text as a line to the output. Args: text: string, Text to output.
apiclient/schema.py:199
↓ 4 callersMethodfilename
The filename that is being locked.
oauth2client/locked_file.py:82
↓ 4 callersMethodrelease_lock
Release the Storage lock. Trying to release a lock that isn't held will result in a RuntimeError.
oauth2client/client.py:266
↓ 3 callersMethod__init__
Args: filename: string, absolute filename to read response from headers: dict, header to return with response
apiclient/http.py:1443
↓ 3 callersMethod__init__
(self)
oauth2client/client.py:109
↓ 3 callersFunction_cnonce
()
httplib2/__init__.py:450
↓ 3 callersMethod_conn_request
(self, conn, request_uri, method, body, headers)
httplib2/__init__.py:1248
↓ 3 callersMethod_create_flow
Create the Flow object. The Flow is calculated lazily since we don't know where this app is running until it receives a request, at which poi
oauth2client/appengine.py:723
↓ 3 callersMethod_do_revoke
Revokes the credentials and deletes the store if available. Args: http_request: callable, a callable that matches the method signature of
oauth2client/client.py:721
↓ 3 callersMethod_refresh
Refreshes the access_token. This method first checks by reading the Storage object if available. If a refresh is still needed, it holds the S
oauth2client/client.py:638
↓ 3 callersFunction_updateCache
(request_headers, response_headers, content, cache, cachekey)
httplib2/__init__.py:413
↓ 3 callersFunction_urlsafe_b64encode
(raw_bytes)
oauth2client/crypt.py:259
↓ 3 callersFunction_validate_clientsecrets
(obj)
oauth2client/clientsecrets.py:70
↓ 3 callersMethod_write
Write the cached data back out. The multistore must be locked.
oauth2client/multistore_file.py:393
↓ 3 callersMethodadd
(self, name, password, domain="")
httplib2/__init__.py:728
↓ 3 callersMethodauthorize
Take an httplib2.Http instance (or equivalent) and authorizes it. Authorizes it for the set of credentials, usually by replacing http.request
oauth2client/client.py:134
↓ 3 callersMethodemitBegin
Add text to the output, but with no line terminator. Args: text: string, Text to output.
apiclient/schema.py:207
↓ 3 callersFunctionfix_method_name
Fix method names to avoid reserved word conflicts. Args: name: string, method name. Returns: The name with a '_' prefixed if the name is
apiclient/discovery.py:103
↓ 3 callersMethodgetbytes
Get bytes from the media. Args: begin: int, offset from beginning of file. length: int, number of bytes to read, starting at begin.
apiclient/http.py:172
↓ 3 callersFunctionkey2param
Converts key names into parameter names. For example, converting "max-results" -> "max_results" Args: key: string, the method key name. R
apiclient/discovery.py:118
↓ 3 callersMethodlocked_put
Write a credential. The Storage lock must be held when this is called. Args: credentials: Credentials, the credentials to store.
oauth2client/client.py:284
↓ 3 callersMethodmimetype
Mime type of the body. Returns: Mime type.
apiclient/http.py:148
↓ 3 callersFunctionparse_media_range
Parse a media-range into its component parts. Carves up a media range and returns a tuple of the (type, subtype, params) where 'params' is a
apiclient/mimeparse.py:56
↓ 3 callersMethodset
(self, key, value)
oauth2client/client.py:115
↓ 3 callersMethodstep1_get_authorize_url
Returns a URI to redirect to the provider. Args: redirect_uri: string, Either the string 'urn:ietf:wg:oauth:2.0:oob' for a non-web-
oauth2client/client.py:1207
↓ 3 callersFunctionvalidate_file
(filename)
oauth2client/locked_file.py:52
↓ 2 callersMethod__getauthheader
(self)
httplib2/socks.py:176
↓ 2 callersMethod__init__
(self, resp, content, uri=None)
apiclient/errors.py:39
↓ 2 callersMethod__init__
Constructor for OAuth2Decorator Args: client_id: string, client identifier. client_secret: string client secret. scope: string
oauth2client/appengine.py:606
↓ 2 callersMethod__init__
Constructor for Storage. Args: model: db.Model, model class key_name: string, key name for the entity that has the credentials
oauth2client/django_orm.py:89
↓ 2 callersMethod__negotiatehttp
__negotiatehttp(self,destaddr,destport) Negotiates a connection through an HTTP server.
httplib2/socks.py:358
↓ 2 callersFunction_build_state_value
Composes the value for the 'state' parameter. Packs the current request URI and an XSRF token into an opaque string that can be passed to the aut
oauth2client/appengine.py:508
↓ 2 callersFunction_cast
Convert value to a string based on JSON Schema type. See http://tools.ietf.org/html/draft-zyp-json-schema-03 for more details on JSON Schema.
apiclient/discovery.py:260
↓ 2 callersMethod_display_error_message
(self, request_handler)
oauth2client/appengine.py:675
↓ 2 callersMethod_do_refresh_request
Refresh the access_token using the refresh_token. Args: http_request: callable, a callable that matches the method signature of htt
oauth2client/client.py:667
↓ 2 callersMethod_execute
Serialize batch request, send to server, process response. Args: http: httplib2.Http, an http object to be used to make the request with.
apiclient/http.py:1203
↓ 2 callersFunction_get_end2end_headers
(response)
httplib2/__init__.py:200
↓ 2 callersFunction_get_multistore
A helper method to initialize the multistore with proper locking. Args: filename: The JSON file storing a set of credentials warn_on_readon
oauth2client/multistore_file.py:167
↓ 2 callersMethod_get_reason
Calculate the reason for the error from the response content.
apiclient/errors.py:44
↓ 2 callersMethod_is_ndb
Determine whether the model of the instance is an NDB model. Returns: Boolean indicating whether or not the model is an NDB or DB model.
oauth2client/appengine.py:395
↓ 2 callersFunction_json_encode
(data)
oauth2client/crypt.py:270
↓ 2 callersFunction_loadfile
(filename)
oauth2client/clientsecrets.py:99
↓ 2 callersMethod_lock
Lock the entire multistore.
oauth2client/multistore_file.py:280
↓ 2 callersMethod_posix_lockfile
The name of the lock file to use for posix locking.
oauth2client/locked_file.py:164
↓ 2 callersMethod_process_response
Process the response from a single chunk upload. Args: resp: httplib2.Response, the response object. content: string, the content of
apiclient/http.py:876
↓ 2 callersMethod_request
Do the actual request using the connection object and also follow one level of redirects if necessary
httplib2/__init__.py:1308
↓ 2 callersFunction_safe_html
Escape text to make it safe to display. Args: s: string, The text to escape. Returns: The escaped text as a string.
oauth2client/appengine.py:67
↓ 2 callersMethod_set_service_methods
(self)
apiclient/discovery.py:891
↓ 2 callersMethod_to_json
Utility function for creating a JSON representation of a MediaUpload. Args: strip: array, An array of names of members to not include in th
apiclient/http.py:207
↓ 2 callersMethod_to_json
Utility function that creates JSON repr. of a Credentials object. Args: strip: array, An array of names of members to not include in the JS
oauth2client/client.py:173
↓ 2 callersMethod_unlock
Release the lock on the multistore.
oauth2client/multistore_file.py:303
↓ 2 callersFunction_update_query_params
Updates a URI with new query parameters. Args: uri: string, A valid URI, with potential existing query parameters. params: dict, A dictiona
oauth2client/client.py:367
↓ 2 callersFunction_urlsafe_b64decode
(b64string)
oauth2client/crypt.py:263
↓ 2 callersMethod_validate_file
(self)
oauth2client/file.py:43
↓ 2 callersMethodadd
Add a new request. Every callback added will be paired with a unique id, the request_id. That unique id will be passed back to the callback w
apiclient/http.py:1165
↓ 2 callersMethodapply
Add the authorization to the headers. Args: headers: dict, the headers to add the Authorization header to.
oauth2client/client.py:165
↓ 2 callersMethodapply
Add the authorization to the headers. Args: headers: dict, the headers to add the Authorization header to.
oauth2client/client.py:527
↓ 2 callersMethodastuple
(self)
httplib2/__init__.py:766
↓ 2 callersMethodauthorize_url
Returns the URL to start the OAuth dance. Must only be called from with a webapp.RequestHandler subclassed method that had been decorated wit
oauth2client/appengine.py:792
↓ 2 callersFunctionclean_headers
Forces header keys and values to be strings, i.e not unicode. The httplib module just concats the header keys and values in a way that may make t
oauth2client/client.py:345
↓ 2 callersFunctioncreateMethod
Creates a method for attaching to a Resource. Args: methodName: string, name of the method to use. methodDesc: object, fragment of deserial
apiclient/discovery.py:552
↓ 2 callersFunctionfitness_and_quality_parsed
Find the best match for a mime-type amongst parsed media-ranges. Find the best match for a given mime-type against a list of media_ranges tha
apiclient/mimeparse.py:79
↓ 2 callersMethodfrom_string
Construct a Signer instance from a string. Args: key: string, private key in PKCS12 or PEM format. password: string, password f
oauth2client/crypt.py:115
↓ 2 callersFunctionget_credential_storage_custom_key
Get a Storage instance for a credential using a dictionary as a key. Allows you to provide a dictionary as a custom key that will be used for cre
oauth2client/multistore_file.py:122
↓ 2 callersFunctionhas_timeout
(timeout)
httplib2/__init__.py:100
↓ 2 callersMethodindent
Increase indentation level.
apiclient/schema.py:231
↓ 2 callersMethodis_locked
Was the file locked.
oauth2client/locked_file.py:74
↓ 2 callersMethodisgood
(self)
httplib2/__init__.py:770
next →1–100 of 465, ranked by callers