ayon_kitsu
Addon class definition and Settings definition must be imported here.
If addon class or settings definition won't be here their definition won't be found by OpenPype discovery.
 KitsuAddon 
  Bases: AYONAddon, IPluginPaths, ITrayAction
Kitsu addon class.
Source code in client/ayon_kitsu/addon.py
 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |  | 
 get_global_environments() 
 Kitsu's global environments.
Source code in client/ayon_kitsu/addon.py
 | 69 70 71 |  | 
 get_plugin_paths() 
 Implementation of abstract method for IPluginPaths.
Source code in client/ayon_kitsu/addon.py
 | 94 95 96 97 98 99 100 101 |  | 
 initialize(settings) 
 Initialization of addon.
Source code in client/ayon_kitsu/addon.py
 | 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |  | 
 on_action_trigger() 
 Implementation of abstract method for ITrayAction.
Source code in client/ayon_kitsu/addon.py
 | 90 91 92 |  | 
 show_dialog() 
 Show dialog to log-in.
Source code in client/ayon_kitsu/addon.py
 | 81 82 83 84 85 86 87 88 |  | 
 tray_init() 
 Tray init.
Source code in client/ayon_kitsu/addon.py
 | 44 45 46 47 |  | 
 tray_start() 
 Tray start.
Source code in client/ayon_kitsu/addon.py
 | 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |  | 
 is_kitsu_enabled_in_settings(project_settings) 
 Check if kitsu is enabled in kitsu project settings.
This function expect settings for a specific project. It is not checking if kitsu is enabled in general.
Project settings gives option to disable kitsu integration per project. That should disable most of kitsu integration functionality, especially pipeline integration > publish plugins, and some automations like event server handlers.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| project_settings | dict[str, Any] | Project settings. | required | 
Returns:
| Name | Type | Description | 
|---|---|---|
| bool | True if kitsu is enabled in project settings. | 
Source code in client/ayon_kitsu/addon.py
 | 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 |  |