Skip to content

Commit

Permalink
simpler init
Browse files Browse the repository at this point in the history
  • Loading branch information
tangowithfoxtrot authored Nov 14, 2023
1 parent 5ce0c56 commit 57fb86a
Showing 1 changed file with 9 additions and 167 deletions.
176 changes: 9 additions & 167 deletions languages/python/BitwardenClient/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,170 +2,12 @@

__version__ = "0.1.0"

from .bitwarden_client import BitwardenClient, SecretsClient
from .schemas import (
DeviceType,
ClientSettings,
AccessTokenLoginRequest,
APIKeyLoginRequest,
FingerprintRequest,
SecretVerificationRequest,
PurpleArgon2ID,
PurplePBKDF2,
PasswordLoginKdf,
TwoFactorProvider,
TwoFactorRequest,
PasswordLoginRequest,
ProjectCreateRequest,
ProjectsDeleteRequest,
ProjectGetRequest,
ProjectsListRequest,
ProjectPutRequest,
ProjectsCommand,
SecretCreateRequest,
SecretsDeleteRequest,
SecretGetRequest,
SecretsGetRequest,
SecretIdentifiersRequest,
SecretPutRequest,
SecretsCommand,
SyncRequest,
Command,
Attachment,
Card,
LinkedIDType,
FieldType,
Field,
Identity,
LocalData,
URIMatchType,
LoginURI,
Login,
PasswordHistory,
CipherRepromptType,
SecureNoteType,
SecureNote,
CipherType,
Cipher,
AttachmentView,
CardView,
FieldView,
IdentityView,
LocalDataView,
LoginURIView,
LoginView,
PasswordHistoryView,
SecureNoteView,
CipherView,
Collection,
EncryptedJSON,
ExportFormatClass,
ExportFormatEnum,
Folder,
FolderView,
FluffyArgon2ID,
FluffyPBKDF2,
InitCryptoRequestKdf,
InitCryptoRequest,
MasterPasswordPolicyOptions,
PassphraseGeneratorRequest,
PasswordGeneratorRequest,
SendFile,
SendText,
SendType,
Send,
SendListView,
SendFileView,
SendTextView,
SendView,
TotpResponse,
DocRef,
PurpleAuthenticator,
PurpleDuo,
PurpleEmail,
PurpleRemember,
PurpleWebAuthn,
PurpleYubiKey,
AccessTokenLoginResponseTwoFactorProviders,
AccessTokenLoginResponse,
ResponseForAccessTokenLoginResponse,
FluffyAuthenticator,
FluffyDuo,
FluffyEmail,
FluffyRemember,
FluffyWebAuthn,
FluffyYubiKey,
APIKeyLoginResponseTwoFactorProviders,
APIKeyLoginResponse,
ResponseForAPIKeyLoginResponse,
FingerprintResponse,
ResponseForFingerprintResponse,
CAPTCHAResponse,
TentacledAuthenticator,
TentacledDuo,
TentacledEmail,
TentacledRemember,
TentacledWebAuthn,
TentacledYubiKey,
PasswordLoginResponseTwoFactorProviders,
PasswordLoginResponse,
ResponseForPasswordLoginResponse,
ProjectResponse,
ResponseForProjectResponse,
ProjectDeleteResponse,
ProjectsDeleteResponse,
ResponseForProjectsDeleteResponse,
DatumElement,
ProjectsResponse,
ResponseForProjectsResponse,
SecretIdentifierResponse,
SecretIdentifiersResponse,
ResponseForSecretIdentifiersResponse,
SecretResponse,
ResponseForSecretResponse,
SecretDeleteResponse,
SecretsDeleteResponse,
ResponseForSecretsDeleteResponse,
DatumClass,
SecretsResponse,
ResponseForSecretsResponse,
CipherDetailsResponse,
ProfileOrganizationResponse,
ProfileResponse,
SyncResponse,
ResponseForSyncResponse,
UserAPIKeyResponse,
ResponseForUserAPIKeyResponse,
client_settings_from_dict,
client_settings_to_dict,
command_from_dict,
command_to_dict,
doc_ref_from_dict,
doc_ref_to_dict,
response_for_access_token_login_response_from_dict,
response_for_access_token_login_response_to_dict,
response_for_api_key_login_response_from_dict,
response_for_api_key_login_response_to_dict,
response_for_fingerprint_response_from_dict,
response_for_fingerprint_response_to_dict,
response_for_password_login_response_from_dict,
response_for_password_login_response_to_dict,
response_for_project_response_from_dict,
response_for_project_response_to_dict,
response_for_projects_delete_response_from_dict,
response_for_projects_delete_response_to_dict,
response_for_projects_response_from_dict,
response_for_projects_response_to_dict,
response_for_secret_identifiers_response_from_dict,
response_for_secret_identifiers_response_to_dict,
response_for_secret_response_from_dict,
response_for_secret_response_to_dict,
response_for_secrets_delete_response_from_dict,
response_for_secrets_delete_response_to_dict,
response_for_secrets_response_from_dict,
response_for_secrets_response_to_dict,
response_for_sync_response_from_dict,
response_for_sync_response_to_dict,
response_for_user_api_key_response_from_dict,
response_for_user_api_key_response_to_dict,
)
from .bitwarden_client import *
from .schemas import *

__doc__ = bitwarden_client.__doc__
if hasattr(bitwarden_client, "__all__"):
__all__ = bitwarden_client.__all__

if hasattr(schemas, "__all__"):
__all__ += schemas.__all__

0 comments on commit 57fb86a

Please sign in to comment.