Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Yeraze/CalendarHangout
/ functions
Functions
465 in github.com/Yeraze/CalendarHangout
⨍
Functions
465
◇
Types & classes
139
Method
oauth_required
Decorator that starts the OAuth 2.0 dance. Starts the OAuth dance for the logged in user if they haven't already granted access for this appl
oauth2client/appengine.py:680
Method
open_and_lock
Open the file and lock it. Tries to create a .lock file next to the file we're trying to open. Args: timeout: float, How long to try t
oauth2client/locked_file.py:103
Method
open_and_lock
Open the file and lock it. Args: timeout: float, How long to try to lock for. delay: float, How long to wait between retries
oauth2client/locked_file.py:175
Method
open_and_lock
Open the file and lock it. Args: timeout: float, How long to try to lock for. delay: float, How long to wait between retries
oauth2client/locked_file.py:250
Method
open_and_lock
Open the file, trying to lock it. Args: timeout: float, The number of seconds to try to acquire the lock. delay: float, The number of
oauth2client/locked_file.py:358
Function
positional
A decorator to declare that only the first N arguments my be positional. This decorator makes it easy to support Python 3 style key-word only par
oauth2client/util.py:51
Function
positional_decorator
(wrapped)
oauth2client/util.py:118
Function
positional_wrapper
(*args, **kwargs)
oauth2client/util.py:119
Method
progress
Percent of upload completed, as a float. Returns: the percentage complete as a float, returning 0.0 if the total size of the upload i
apiclient/http.py:74
Method
progress
Percent of download completed, as a float. Returns: the percentage complete as a float, returning 0.0 if the total size of the downlo
apiclient/http.py:100
Function
proxy_info_from_environment
Read proxy info from the environment variables.
httplib2/__init__.py:789
Function
quality
Return the quality ('q') of a mime-type against a list of media-ranges. Returns the quality 'q' of a mime-type when compared against the medi
apiclient/mimeparse.py:126
Method
refresh
Forces a refresh of the access_token. Args: http: httplib2.Http, an http object to be used to make the refresh request.
oauth2client/client.py:509
Method
release_lock
Release the Storage lock. Trying to release a lock that isn't held will result in a RuntimeError.
oauth2client/keyring_storage.py:68
Method
release_lock
Release the Storage lock. Trying to release a lock that isn't held will result in a RuntimeError.
oauth2client/multistore_file.py:226
Method
release_lock
Release the Storage lock. Trying to release a lock that isn't held will result in a RuntimeError.
oauth2client/file.py:54
Method
request
(self, uri, method='GET', body=None, headers=None, red
apiclient/http.py:1510
Method
request
Updates outgoing requests with a serialized body. Args: headers: dict, request headers path_params: dict, parameters that appear in t
apiclient/model.py:120
Method
request
Modify the request headers to add the appropriate Authorization header. Over-ride this in sub-classes.
httplib2/__init__.py:483
Method
request
Modify the request headers to add the appropriate Authorization header.
httplib2/__init__.py:504
Method
request
Modify the request headers
httplib2/__init__.py:527
Method
request
Modify the request headers
httplib2/__init__.py:602
Method
request
Modify the request headers to add the appropriate Authorization header.
httplib2/__init__.py:639
Method
request
Modify the request headers to add the appropriate Authorization header.
httplib2/__init__.py:675
Method
response
Convert the response wire format into a Python object. Args: resp: httplib2.Response, the HTTP response headers and status content: s
apiclient/model.py:69
Method
response
Convert the response wire format into a Python object. Args: resp: httplib2.Response, the HTTP response headers and status content: s
apiclient/model.py:185
Method
response
(self, response, content)
httplib2/__init__.py:552
Method
response
(self, response, content)
httplib2/__init__.py:621
Method
resumable
Whether this upload is resumable. Returns: True if resumable upload or False.
apiclient/http.py:333
Method
revoke
Revokes a refresh_token and makes the credentials void. Args: http: httplib2.Http, an http object to be used to make the revoke req
oauth2client/client.py:156
Method
revoke
Revokes a refresh_token and makes the credentials void. Args: http: httplib2.Http, an http object to be used to make the revoke req
oauth2client/client.py:518
Function
run
(*args, **kwargs)
oauth2client/tools.py:239
Function
run
Core code for a command-line application. The run() function is called from your application and runs through all the steps to obtain credentials
oauth2client/old_run.py:48
Function
run_flow
Core code for a command-line application. The run() function is called from your application and runs through all the steps to obtain credentials
oauth2client/tools.py:110
Function
safename
Return a filename suitable for the cache. Strips dangerous and common characters to create a filename we can use to store the cache in.
httplib2/__init__.py:235
Function
scopes_to_string
Converts scope value to a string. If scopes is a string then it is simply passed through. If scopes is an iterable then a string is returned that
oauth2client/util.py:142
Method
serialize
(self, body_value)
apiclient/model.py:253
Method
serialize
(self, body_value)
apiclient/model.py:331
Method
set_credentials
(self, credentials)
oauth2client/appengine.py:574
Method
set_flow
(self, flow)
oauth2client/appengine.py:589
Function
set_user_agent
Set the user-agent on every request. Args: http - An instance of httplib2.Http or something that acts like it. user_agent: strin
apiclient/http.py:1531
Function
setdefaultproxy
setdefaultproxy(proxytype, addr[, port[, rdns[, username[, password]]]]) Sets a default proxy which all further socksocket objects will use, u
httplib2/socks.py:96
Method
setup_oauth
(request_handler, *args, **kwargs)
oauth2client/appengine.py:758
Method
sign
Signs a message. Args: message: string, Message to be signed. Returns: string, The signature of the message for the give
oauth2client/crypt.py:208
Method
size
Size of upload. Returns: Size of the body, or None of the size is unknown.
apiclient/http.py:325
Method
stream
A stream interface to the data being uploaded. Returns: The returned value is an io.IOBase subclass that supports seek, i.e. seekable
apiclient/http.py:367
Method
test_iri
Test that the right type of escaping is done for each part of the URI.
httplib2/iri2uri.py:98
Method
test_uris
Test that URIs are invariant under the transformation.
httplib2/iri2uri.py:84
Method
to_json
This upload type is not serializable.
apiclient/http.py:376
Method
to_json
Creating a JSON representation of an instance of MediaFileUpload. Returns: string, a JSON representation of this instance, suitable to pas
apiclient/http.py:428
Method
to_json
Returns a JSON representation of the HttpRequest.
apiclient/http.py:906
Method
to_json
(self)
oauth2client/client.py:535
Method
to_python
(self, value)
oauth2client/django_orm.py:42
Method
to_python
(self, value)
oauth2client/django_orm.py:67
Function
tunnel_patch
Tunnel PATCH requests over POST. Args: http - An instance of httplib2.Http or something that acts like it. Returns: A modified
apiclient/http.py:1571
Method
unlock_and_close
Unlock a file by removing the .lock file, and close the handle.
oauth2client/locked_file.py:153
Method
unlock_and_close
Close and unlock the file using the fcntl.lockf primitive.
oauth2client/locked_file.py:223
Method
unlock_and_close
Close and unlock the file using the win32 primitive.
oauth2client/locked_file.py:305
Method
unlock_and_close
Unlock and close a file.
oauth2client/locked_file.py:371
Method
validate
(self, value)
oauth2client/appengine.py:288
Function
validate_token
Validates that the given token authorizes the user for the action. Tokens are invalid if the time of issue is too old or if the token does not ma
oauth2client/xsrfutil.py:70
Method
verify
Verifies a message against a signature. Args: message: string, The message to verify. signature: string, The signature on the m
oauth2client/crypt.py:156
Function
verify_id_token
Verifies a signed JWT id_token. This function requires PyOpenSSL and because of that it does not work on App Engine. Args: id_toke
oauth2client/client.py:984
Function
verify_signed_jwt_with_certs
Verify a JWT against public certs. See http://self-issued.info/docs/draft-jones-json-web-token.html. Args: jwt: string, A JWT. certs: di
oauth2client/crypt.py:302
Function
wrapmodule
wrapmodule(module) Attempts to replace a module's socket library with a SOCKS socket. Must set a default proxy using setdefaultproxy(...) firs
httplib2/socks.py:104
← previous
401–465 of 465, ranked by callers