MCPcopy Create free account

hub / github.com/Elizabeth-Warren/i90 / functions

Functions91 in github.com/Elizabeth-Warren/i90

↓ 20 callersMethodget
Get a redirect based on our arguments
i90/cli.py:43
↓ 10 callersMethodadd
Given a token and a destination, stash it
i90/redirects.py:47
↓ 10 callersMethodrecord
Record an event with the given type and kwargs
i90/track.py:44
↓ 7 callersMethodget
Given a token, return the redirect record
i90/redirects.py:39
↓ 6 callersMethodclaim
Claim a redirect based on our arguments
i90/cli.py:63
↓ 6 callersMethodextract_dimensions
(url)
i90/urls.py:14
↓ 6 callersFunctionget_by_hash_key
(redirects_table, hash_key)
i90/test_redirects.py:14
↓ 6 callersMethoduser_error
Returns a user error response
i90/responses.py:60
↓ 5 callersFunctionget_api
()
i90/test_api.py:12
↓ 5 callersMethodredirect
Given a token and arbitrary jsonifiable kwargs, return a lambda proxy compatible response for a redirect
i90/api.py:32
↓ 5 callersMethodvalidate_body
Given a request body, determine whether or not we can handle it
i90/api.py:17
↓ 4 callersMethodconceive
Conceive of a redirect based on our arguments
i90/cli.py:51
↓ 4 callersMethodnot_found
Return the appropriate 'not found' response. Rather than return 404s, we redirect to the configured catchall URL
i90/responses.py:54
↓ 3 callersMethod__make_request
(self, method, path, **kwargs)
i90/cli.py:35
↓ 3 callersMethodconceive
Given a destination, create a new token, stash the redirect and return the the record
i90/redirects.py:97
↓ 3 callersMethodredirect_created
(result)
i90/responses.py:93
↓ 2 callersMethodalready_claimed
()
i90/responses.py:69
↓ 2 callersMethodget
Given a token, look it up in the redirects database and return a lambda compatible json responses
i90/api.py:24
↓ 2 callersMethodhtml_moved
Given a destination url, return HTML that tells us its moved.
i90/responses.py:27
↓ 2 callersMethodinvalid_body
Record when we receive an invalid body in the canonical style
i90/track.py:88
↓ 2 callersMethodinvalid_destination
()
i90/responses.py:77
↓ 2 callersMethodrecord_invalid_destination
Record when a destination is invalid in the canonical style
i90/track.py:80
↓ 2 callersMethodrecord_redirect_created
Record redirect creation in the canonical style
i90/track.py:56
↓ 1 callersMethod__client
(self)
i90/sync.py:16
↓ 1 callersMethod__default_api_key
(self)
i90/cli.py:30
↓ 1 callersMethod__find_unused_token
Generate an unused token
i90/redirects.py:83
↓ 1 callersMethod__send
Given an event_type and event, see that it's tracked. This method cannot throw any exception by design. Futhermore, we do not perform
i90/track.py:30
↓ 1 callersMethod__sheet
(self)
i90/sync.py:21
↓ 1 callersMethod__values
(self)
i90/sync.py:27
↓ 1 callersMethod__worksheet
(self)
i90/sync.py:24
↓ 1 callersMethoddenude_arguments
Denude the docopt arguments object
i90/cli.py:15
↓ 1 callersFunctionextract_item
(response)
i90/test_redirects.py:10
↓ 1 callersMethodis_valid
(url)
i90/urls.py:10
↓ 1 callersMethodput_record
(self, DeliveryStreamName=None, Record=None)
i90/test_helpers.py:14
↓ 1 callersMethodrecord_destination_missing
Record when a destination for a redirect is missing in the canonical style
i90/track.py:76
↓ 1 callersMethodrecord_miss
Record redirect miss in the canonical style
i90/track.py:68
↓ 1 callersMethodrecord_redirect_success
Record redirect success in the canonical style
i90/track.py:64
↓ 1 callersMethodrecord_token_collision
Record when we see a token collision in the canonical style
i90/track.py:84
↓ 1 callersMethodrecord_token_missing
Record when a token is missing in the canonical style
i90/track.py:72
↓ 1 callersMethodredirect
Given a destination URL and an optional headers dictionary, return an appropriate redirect.
i90/responses.py:34
↓ 1 callersMethodredirect_json
(result)
i90/responses.py:107
↓ 1 callersMethodredirect_json_not_found
()
i90/responses.py:115
↓ 1 callersMethodserver_error
()
i90/responses.py:85
Method__call__
(self)
i90/sync.py:30
Method__init__
(self, arguments)
i90/cli.py:21
Method__init__
(self, redirects=None, tracker=None)
i90/api.py:13
Method__init__
(self)
i90/sync.py:13
Method__init__
(self, client=None, stream=None)
i90/track.py:25
Method__init__
(self, *args, **kwargs)
i90/test_helpers.py:10
Method__init__
(self, table=None, firehose=None)
i90/redirects.py:34
Methodcatchall_redirect
(self)
i90/config.py:37
Functionclaim
(event, *args, **kwargs)
handlers.py:30
Methodclaim
Given a token, destination, and arbitrary jsonifiable kwargs, return a lambda-proxy compatible response
i90/api.py:56
Functionconceive
(event, *args, **kwargs)
handlers.py:45
Methodconceive
Given a destination and arbitrary jsonifiable kwargs, return a lambda-proxy compatible response
i90/api.py:96
Methoddynamo_configuration
(self)
i90/config.py:26
Functionget_redirect
(event, *args, **kwargs)
handlers.py:12
Methodhost
(self)
i90/config.py:14
Methodprotocol
(self)
i90/config.py:10
Methodrecord_redirect_create_failure
Record redirect creation failure in the canonical style
i90/track.py:60
Functionredirect
(event, *args, **kwargs)
handlers.py:21
Functionredirects_table
()
i90/test_helpers.py:21
Methodredirects_table
(self)
i90/config.py:33
Methodrun
Run the command defined in the passed arguments
i90/cli.py:80
Methodstage
(self)
i90/config.py:22
Functiontest_already_claimed
()
i90/test_responses.py:53
Functiontest_claim
(redirects_table)
i90/test_api.py:36
Functiontest_claim_errors_with_nones
(redirects_table)
i90/test_api.py:59
Functiontest_complex_add
(redirects_table)
i90/test_redirects.py:34
Functiontest_complex_conception
(redirects_table)
i90/test_redirects.py:120
Functiontest_conceive
(redirects_table)
i90/test_api.py:69
Functiontest_extract_dimensions
()
i90/test_urls.py:6
Functiontest_get_failure
(redirects_table)
i90/test_redirects.py:103
Functiontest_html_moved
()
i90/test_responses.py:14
Functiontest_multiple_conceptions
(redirects_table)
i90/test_redirects.py:131
Functiontest_not_found
()
i90/test_responses.py:39
Functiontest_overwrite_flag
(redirects_table)
i90/test_redirects.py:73
Functiontest_record
()
i90/test_tracker.py:10
Functiontest_redirect
(redirects_table)
i90/test_api.py:23
Functiontest_redirect_created
()
i90/test_responses.py:69
Functiontest_redirect_with_headers
()
i90/test_responses.py:27
Functiontest_redirect_without_headers
()
i90/test_responses.py:18
Functiontest_server_error
()
i90/test_responses.py:61
Functiontest_simple_add
(redirects_table)
i90/test_redirects.py:18
Functiontest_simple_conception
(redirects_table)
i90/test_redirects.py:110
Functiontest_simple_get
(redirects_table)
i90/test_redirects.py:87
Functiontest_user_error
()
i90/test_responses.py:45
Functiontest_validate_body
()
i90/test_api.py:16
Functiontest_when_adding_a_bunch
(redirects_table)
i90/test_redirects.py:56
Methodtoken_byte_length
(self)
i90/config.py:18
Methodtracking_stream
(self)
i90/config.py:42