No, you have to download the whole assembly.
This is internally managed by ScriptDomainManager , which only stores a list of loaded assemblies, not types.
The best option would be to make your assembly only open to the types you want to get in your Python environment and leave the rest of the types internal.
source
share