Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Haidra-Org/AI-Horde
/ functions
Functions
1,285 in github.com/Haidra-Org/AI-Horde
⨍
Functions
1,285
◇
Types & classes
287
↳
Endpoints
37
Method
test_role_set_true_is_true
(self, user_with_roles)
tests/unit/test_user_roles.py:38
Method
test_runs_without_crashing_on_populated_db
Smoke: the monthly-kudos sweep must not crash when eligible users (moderators, monthly-kudos holders) exist. Exact grant amounts are d
tests/integration/test_maintenance_threads.py:126
Method
test_second_order_is_subset
(self)
tests/unit/test_consts.py:26
Method
test_self_lookup_returns_own_identity
(self, client, api_key)
tests/integration/test_user_ops.py:72
Method
test_set_and_retrieve_timeout
(self, redis_caches)
tests/unit/test_countermeasures.py:88
Method
test_set_block_timeout_rejects_non_block
(self, redis_caches)
tests/unit/test_countermeasures.py:112
Method
test_sfw_request_to_nsfw_worker_allowed
(self)
tests/unit/test_worker_can_generate.py:115
Method
test_sfw_request_to_sfw_worker_allowed
(self)
tests/unit/test_worker_can_generate.py:120
Function
test_simple_alchemy
(client, request_headers: dict[str, str])
tests/integration/test_alchemy.py:7
Function
test_simple_image_gen
(client, request_headers: dict[str, str])
tests/integration/test_image_extra_sources.py:28
Function
test_simple_image_gen
(client, request_headers: dict[str, str])
tests/integration/test_image.py:23
Function
test_simple_text_gen
(client, request_headers: dict[str, str])
tests/integration/test_text.py:81
Method
test_single_digit
(self)
tests/unit/test_utils.py:24
Method
test_single_pair
(self)
tests/unit/test_utils.py:115
Method
test_singleton_returned_on_repeat_construction
(self, kudos_model)
tests/unit/test_kudos_pricing.py:51
Method
test_small_amounts
(self)
tests/unit/test_utils.py:43
Method
test_stale_takes_priority_over_nsfw
(self)
tests/unit/test_worker_can_generate.py:227
Method
test_stale_worker_is_silently_rejected
(self)
tests/unit/test_worker_can_generate.py:103
Method
test_store_prioritized_wp_queue_populates_cache
(self, client, api_key)
tests/integration/test_maintenance_threads.py:86
Method
test_store_worker_list_reflects_active_worker
(self, client, make_api_user)
tests/integration/test_maintenance_threads.py:100
Method
test_stranger_cannot_delete
(self, client, make_api_user)
tests/integration/test_worker_ops.py:169
Method
test_strips_html
(self)
tests/unit/test_utils.py:79
Method
test_strips_whitespace
(self)
tests/unit/test_utils.py:82
Function
test_styled_image_gen
(client, request_headers: dict[str, str])
tests/integration/test_image_styles.py:17
Method
test_tera
(self)
tests/unit/test_utils.py:67
Method
test_text_worker_count_reflects_a_checked_in_worker
(self, client, make_api_user)
tests/integration/test_statistics.py:105
Method
test_time_basis_was_calculated
(self, kudos_model)
tests/unit/test_kudos_pricing.py:57
Method
test_totals_expose_all_period_buckets
(self, client)
tests/integration/test_statistics.py:54
Method
test_totals_expose_request_and_token_buckets
(self, client)
tests/integration/test_statistics.py:77
Method
test_transfer_moves_kudos_between_accounts
(self, client, app, api_key, make_api_user)
tests/integration/test_user_ops.py:147
Method
test_transfer_to_anonymous_rejected
(self, client, api_key)
tests/integration/test_validation_boundaries.py:89
Method
test_tricked_worker_rejected_with_secret_reason
(self)
tests/unit/test_worker_can_generate.py:139
Method
test_unknown_api_key_not_found
(self, client)
tests/integration/test_user_ops.py:83
Method
test_unknown_sampler_falls_back_to_k_euler
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:143
Method
test_unknown_user_id_404
(self, client)
tests/integration/test_user_ops.py:52
Method
test_unknown_worker_id_404
(self, client, api_key)
tests/integration/test_worker_ops.py:108
Method
test_unmatched_close
(self)
tests/unit/test_utils.py:128
Method
test_unmatched_open
(self)
tests/unit/test_utils.py:125
Method
test_upload_url_default_routes_to_transient
(self, fake_clients)
tests/unit/test_r2.py:43
Method
test_upload_url_defaults_to_transient_bucket
(self, fake_clients)
tests/unit/test_r2.py:88
Method
test_upload_url_shared_routes_to_shared_client
(self, fake_clients)
tests/unit/test_r2.py:54
Method
test_upscalers_are_post_processors
(self)
tests/unit/test_consts.py:32
Method
test_user_cannot_modify_another_users_owner_tier_field
(self, client, make_api_user)
tests/integration/test_user_ops.py:133
Method
test_user_without_any_roles
(self, make_user)
tests/unit/test_user_roles.py:52
Method
test_username_over_30_chars_rejected
(self, client, make_api_user)
tests/integration/test_validation_boundaries.py:80
Method
test_uuid_download_url_builds_typed_key
(self, fake_clients)
tests/unit/test_r2.py:74
Method
test_uuid_upload_url_builds_typed_key
(self, fake_clients)
tests/unit/test_r2.py:68
Method
test_valid_model_states_accepted
(self, client, model_state)
tests/integration/test_statistics.py:71
Method
test_valid_regex
(self)
tests/unit/test_utils.py:133
Method
test_values_are_numeric
(self)
tests/unit/test_consts.py:14
Method
test_whitelisted_service_ip_timeout_capped
(self, redis_caches)
tests/unit/test_countermeasures.py:80
Method
test_wiped_account_excluded
(self, db_session, make_user)
tests/unit/test_database_functions.py:28
Method
test_wiped_account_excluded
(self, db_session, make_user)
tests/unit/test_database_functions.py:51
Method
test_within_budget_no_upfront
(self)
tests/unit/test_kobold_text_wp.py:45
Method
test_worker_name_exists_false_for_unknown
(self, db_session)
tests/unit/test_database_functions.py:85
Method
test_workerlist_env_forces_upfront_and_blocks_downgrade
(self, monkeypatch)
tests/unit/test_kobold_text_wp.py:70
Method
test_wrong_key_returns_none
(self, db_session, make_user)
tests/unit/test_database_functions.py:24
Method
test_zero_scale_zeroes_kudos
(self, kudos_model, basis_payload)
tests/unit/test_kudos_pricing.py:121
Method
text_async_cold
Randomized text request: exercises cold/WP-creation path.
tests/stress/locustsuite/users/text.py:89
Method
text_async_hot
Repeated identical text request: exercises hot cache path.
tests/stress/locustsuite/users/text.py:77
Method
text_status
(self)
tests/stress/locustsuite/users/text.py:107
Method
text_status_not_found
(self)
tests/stress/locustsuite/users/misuse.py:63
Method
threads
(self)
horde/metrics.py:51
Method
tick
(self)
tests/stress/locustsuite/shapes.py:34
Method
toggle
(self, value)
horde/switch.py:15
Function
transfer
()
horde/routes.py:408
Function
transfer_kudos_from_apikey_to_username
(source_api_key, dest_username, amount)
horde/database/functions.py:559
Method
transfer_kudos_to_self
(self)
tests/stress/locustsuite/users/misuse.py:150
Method
trusted
(self)
horde/classes/base/user.py:302
Function
upload_generated_image
(image, filename)
horde/r2.py:154
Function
upload_shared_generated_image
(image, filename)
horde/r2.py:164
Method
user_single
(self)
tests/stress/locustsuite/users/meta.py:103
Function
user_with_roles
Yield a user with TRUSTED + MODERATOR set true, FLAGGED set false.
tests/unit/test_user_roles.py:27
Method
validate
(self)
horde/apis/v2/stable_styles.py:207
Method
validate
(self)
horde/apis/v2/kobold.py:170
Method
validate
(self)
horde/apis/v2/kobold_styles.py:209
Method
validate
(self)
horde/apis/v2/stable.py:128
Method
vpn
(self)
horde/classes/base/user.py:374
Function
worker_exists
(worker_id)
horde/database/functions.py:287
Function
worker_name_exists
(worker_name)
horde/database/functions.py:263
Method
worker_not_found
(self)
tests/stress/locustsuite/users/misuse.py:127
Method
worker_single
(self)
tests/stress/locustsuite/users/meta.py:91
Function
workers_exist
Given a list of worker_id strings, return the set of IDs that do NOT exist.
horde/database/functions.py:303
Method
workers_list
(self)
tests/stress/locustsuite/users/meta.py:81
Function
wp_has_valid_workers
(wp)
horde/database/functions.py:1509
← previous
1,201–1,285 of 1,285, ranked by callers