field-manager-python-client 4.4.82rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- field_manager_python_client-4.4.82rc1/PKG-INFO +144 -0
- field_manager_python_client-4.4.82rc1/README.md +124 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/__init__.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/__init__.py +1 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/bff/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/bff/get_files_in_project_projects_project_id_bff_files_get.py +222 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/bff/get_location_summaries_projects_project_id_location_summaries_get.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/bff/get_project_location_methodtypes_summary_organizations_organization_id_projectlocationmethodtypes_get.py +194 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/bff/get_project_summaries_project_summaries_get.py +243 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/delete_comment_projects_project_id_locations_location_id_comments_comment_id_delete.py +246 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/get_comments_projects_project_id_locations_location_id_comments_get.py +235 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/get_likes_projects_project_id_locations_location_id_comments_comment_id_likes_get.py +248 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/like_comment_projects_project_id_locations_location_id_comments_comment_id_likes_post.py +242 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/modify_comment_projects_project_id_locations_location_id_comments_comment_id_text_put.py +255 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/submit_comment_projects_project_id_locations_location_id_comments_post.py +250 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/comments/unlike_comment_projects_project_id_locations_location_id_comments_comment_id_likes_like_id_delete.py +247 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/export/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/export/export_files_projects_project_id_export_files_get.py +225 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/export/export_projects_project_id_export_post.py +290 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/change_file_metadata_projects_project_id_files_file_id_put.py +220 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/download_file_projects_project_id_files_file_id_download_get.py +246 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/download_file_via_token_download_projects_project_id_file_get.py +248 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/download_file_with_temporary_project_token_download_projects_project_id_file_file_id_get.py +261 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/export_files_via_token_download_projects_project_id_export_files_get.py +240 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/file_token_projects_project_id_files_file_id_token_get.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/parse_project_file_projects_project_id_files_file_id_parse_post.py +275 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/files/project_token_projects_project_id_token_get.py +180 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/gis/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/gis/get_locations_in_project_projects_project_id_gis_onshore_get.py +236 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/location_types/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/location_types/get_location_iogp_type_location_iogp_types_iogp_type_id_get.py +177 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/location_types/get_location_iogp_types_location_iogp_types_get.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/location_types/get_location_type_location_types_location_type_id_get.py +185 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/location_types/get_location_types_location_types_get.py +107 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/add_location_to_project_projects_project_id_locations_post.py +214 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/delete_file_projects_project_id_locations_location_id_files_file_id_delete.py +223 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/delete_location_in_project_projects_project_id_locations_location_id_delete.py +194 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/delete_locations_in_project_projects_project_id_locations_delete.py +208 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/export_projects_project_id_locations_location_id_export_get.py +258 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/get_files_in_location_in_project_projects_project_id_locations_location_id_files_get.py +236 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/get_location_in_project_by_name_projects_project_id_locations_get_by_name_name_get.py +197 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/get_location_in_project_projects_project_id_locations_location_id_get.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/get_locations_in_project_projects_project_id_locations_get.py +307 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/queue_locations_to_project_projects_project_id_locations_queue_post.py +317 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/update_location_in_project_projects_project_id_locations_location_id_put.py +220 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/update_locations_in_project_projects_project_id_locations_put.py +217 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/upload_file_to_location_projects_project_id_locations_location_id_upload_post.py +505 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/locations/upload_locations_to_project_projects_project_id_locations_upload_post.py +315 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/add_map_layout_to_project_projects_project_id_map_layouts_post.py +206 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/add_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_post.py +220 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/delete_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_delete.py +194 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/delete_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_delete.py +207 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/delete_map_layouts_in_project_projects_project_id_map_layouts_delete.py +212 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/get_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_get.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/get_map_layouts_in_project_projects_project_id_map_layouts_get.py +190 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/update_map_layout_in_project_projects_project_id_map_layouts_map_layout_id_put.py +220 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/map_layouts/update_map_layout_version_projects_project_id_map_layouts_map_layout_id_versions_map_layout_version_id_put.py +237 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/method_types/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/method_types/get_method_type_method_types_method_type_id_get.py +176 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/method_types/get_method_types_method_types_get.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/add_method_to_location_projects_project_id_locations_location_id_methods_post.py +587 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/create_data_row_projects_project_id_locations_location_id_methods_method_id_data_post.py +396 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/delete_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_delete.py +220 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/delete_file_projects_project_id_locations_location_id_methods_method_id_files_file_id_delete.py +240 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/delete_method_for_location_projects_project_id_locations_location_id_methods_method_id_delete.py +207 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/export_projects_project_id_locations_location_id_methods_method_id_export_get.py +283 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/get_files_for_method_projects_project_id_locations_location_id_methods_method_id_files_get.py +249 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/get_method_projects_project_id_locations_location_id_methods_method_id_get.py +483 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/get_methods_data_projects_project_id_locations_location_id_methods_method_id_data_get.py +335 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/get_methods_for_location_of_type_projects_project_id_locations_location_id_methods_type_method_type_name_get.py +528 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/get_methods_for_location_projects_project_id_locations_location_id_methods_get.py +518 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/update_data_row_projects_project_id_locations_location_id_methods_method_id_data_method_data_id_put.py +402 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/update_method_for_location_projects_project_id_locations_location_id_methods_method_id_put.py +600 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/methods/upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py +538 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/add_organization_organizations_post.py +193 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/delete_file_organizations_organization_id_files_file_id_delete.py +194 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/download_file_organizations_organization_id_files_file_id_download_get.py +222 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/get_files_in_organization_organizations_organization_id_files_get.py +246 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/get_organization_by_external_id_organizations_get_by_external_id_external_id_get.py +184 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/get_organization_organizations_organization_id_get.py +184 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/get_organization_projects_organizations_organization_id_projects_get.py +228 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/get_organization_users_organizations_organization_id_users_get.py +182 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/get_organizations_organizations_get.py +215 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/move_organization_project_organizations_organization_id_projects_project_id_move_post.py +228 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/update_organization_organizations_organization_id_put.py +206 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/organizations/upload_file_to_organization_organizations_organization_id_upload_post.py +205 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/create_piezometer_model_projects_project_id_piezometers_models_post.py +206 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/get_piezometer_model_projects_project_id_piezometers_models_model_id_get.py +190 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/get_piezometer_models_projects_project_id_piezometers_models_get.py +182 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/get_piezometer_units_piezometers_units_get.py +170 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/get_piezometer_vendor_projects_project_id_piezometers_vendors_vendor_id_get.py +190 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/get_piezometer_vendors_projects_project_id_piezometers_vendors_get.py +182 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/piezometers/update_piezometer_model_projects_project_id_piezometers_models_model_id_put.py +220 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/plots/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/plots/get_plot_from_sequence_plots_project_project_id_format_post.py +216 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/plots/get_plot_sequence_plots_project_project_id_plot_sequence_format_post.py +218 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/add_project_projects_post.py +245 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/delete_file_projects_project_id_files_file_id_delete.py +194 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/delete_files_projects_project_id_files_delete.py +224 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/delete_project_projects_project_id_delete.py +180 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/delete_projects_projects_delete.py +195 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/download_logo_projects_project_id_logo_get.py +200 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/get_file_in_project_projects_project_id_files_file_id_get.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/get_files_in_project_projects_project_id_files_get.py +256 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/get_linked_projects_projects_project_id_linked_projects_get.py +190 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/get_project_projects_project_id_get.py +176 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/get_project_summary_projects_project_id_summary_get.py +192 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/get_project_users_projects_project_id_users_get.py +169 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/get_projects_projects_get.py +235 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/link_linked_project_projects_project_id_linked_projects_linked_project_id_post.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/search_projects_projects_search_post.py +228 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/unlink_linked_project_projects_project_id_linked_projects_linked_project_id_delete.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/update_project_favorite_projects_project_id_favorite_delete.py +184 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/update_project_favorite_projects_project_id_favorite_post.py +184 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/update_project_favorite_projects_project_id_favorite_put.py +184 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/update_project_projects_project_id_put.py +222 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/projects/upload_file_to_project_projects_project_id_upload_post.py +276 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/public/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/public/get_organization_by_email_address_public_organizations_email_address_get.py +198 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/public/get_organization_information_public_organizations_organization_id_information_get.py +185 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sample_containers/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sample_containers/get_sample_container_sample_containers_sample_container_type_id_get.py +176 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sample_containers/get_sample_containers_sample_containers_get.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sample_materials/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sample_materials/get_sample_material_sample_materials_sample_material_id_get.py +176 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sample_materials/get_sample_materials_sample_materials_get.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sampler_types/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sampler_types/get_sampler_type_sampler_types_sampler_type_id_get.py +176 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sampler_types/get_sampler_types_sampler_types_get.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sampling_techniques/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sampling_techniques/get_sampling_technique_sampling_techniques_sampling_technique_id_get.py +176 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/sampling_techniques/get_sampling_techniques_sampling_techniques_get.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/standards/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/standards/get_project_standards_standards_get.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/standards/get_standard_standards_standard_id_get.py +176 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/users/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/users/add_user_role_users_user_id_roles_post.py +192 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/users/add_user_users_post.py +202 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/users/get_user_users_user_id_get.py +170 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/users/get_users_users_get.py +131 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/users/remove_user_role_users_user_id_roles_delete.py +223 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/version/__init__.py +0 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/api/version/get_version_version_get.py +105 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/client.py +268 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/errors.py +14 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/__init__.py +669 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/application_class_enum.py +12 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/background_map_layer.py +12 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bedrock_info.py +122 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bedrock_type.py +9 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bff_file.py +233 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bff_location.py +84 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bff_location_summary.py +376 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bff_method.py +103 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bff_method_summary.py +434 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/bff_project_summary.py +254 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/body_queue_locations_to_project_projects_project_id_locations_queue_post.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/body_upload_file_projects_project_id_locations_location_id_methods_method_id_upload_post.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/body_upload_file_to_location_projects_project_id_locations_location_id_upload_post.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/body_upload_file_to_organization_organizations_organization_id_upload_post.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/body_upload_file_to_project_projects_project_id_upload_post.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/body_upload_locations_to_project_projects_project_id_locations_upload_post.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/color_mode.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/comment.py +233 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/comment_create.py +72 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/comment_update.py +72 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/cpt_options.py +96 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/date_format.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/dp_type.py +11 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/export.py +270 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/export_type.py +14 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/file.py +338 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/file_extended.py +395 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/file_extension.py +81 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/file_type.py +10 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/file_update.py +109 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/fm_plot_options.py +168 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/height_reference.py +12 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/http_validation_error.py +97 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/image_size.py +10 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/iogp_type.py +100 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/iogp_type_enum.py +33 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/language.py +10 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/like.py +139 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/linked_project_info.py +441 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location.py +849 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_coordinates.py +130 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_create.py +840 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_gis.py +481 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_info.py +166 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_min.py +111 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_summary.py +381 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_type.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_type_enum.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/location_update.py +1180 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/map_layout.py +195 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/map_layout_create.py +138 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/map_layout_update.py +154 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/map_layout_version.py +502 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/map_layout_version_create.py +488 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/map_layout_version_update.py +616 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/map_scale.py +13 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ad.py +330 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ad_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ad_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ad_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ad_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ad_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cd.py +688 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cd_create.py +524 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cd_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cd_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cd_update.py +477 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cd_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt.py +618 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_create.py +559 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_data.py +417 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_data_create.py +511 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_data_update.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_update.py +524 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_cpt_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp.py +510 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_create.py +512 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_data.py +312 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_data_create.py +406 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dp_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt.py +479 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_create.py +492 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_data.py +241 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_data_create.py +330 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_data_update.py +195 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_update.py +456 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_dt_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_esa.py +330 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_esa_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_esa_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_esa_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_esa_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_esa_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_export_type.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_inc.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_inc_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_inc_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_inc_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_inc_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_inc_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_info.py +325 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_iw.py +330 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_iw_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_iw_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_iw_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_iw_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_iw_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_min.py +111 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_other.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_other_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_other_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_other_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_other_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_other_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pt.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pt_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pt_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pt_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pt_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pt_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz.py +824 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_create.py +738 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_data.py +306 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_data_create.py +353 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_data_update.py +242 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_update.py +704 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_pz_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd.py +457 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_create.py +365 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_data.py +207 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_data_create.py +301 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_data_update.py +173 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_update.py +330 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rcd_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ro.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ro_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ro_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ro_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ro_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ro_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp.py +415 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_create.py +367 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_data.py +333 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_data_create.py +426 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_data_update.py +131 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_update.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rp_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rs.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rs_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rs_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rs_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rs_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rs_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rws.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rws_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rws_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rws_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rws_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_rws_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sa.py +513 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sa_create.py +506 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sa_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sa_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sa_update.py +471 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sa_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_spt.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_spt_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_spt_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_spt_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_spt_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_spt_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sr.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sr_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sr_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sr_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sr_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_sr_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs.py +546 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_create.py +446 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_data.py +396 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_data_create.py +490 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_data_update.py +362 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_update.py +418 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_srs_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss.py +394 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_create.py +365 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_data.py +228 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_data_create.py +329 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_data_update.py +194 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_update.py +330 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_ss_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_status_enum.py +11 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_summary.py +466 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt.py +469 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_create.py +482 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_data.py +333 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_data_create.py +364 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_data_update.py +236 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_update.py +447 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_svt_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot.py +478 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_create.py +366 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_data.py +375 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_data_create.py +469 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_data_update.py +132 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_update.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tot_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tp.py +331 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tp_create.py +344 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tp_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tp_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tp_update.py +309 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_tp_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_type.py +162 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_type_enum.py +31 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_type_enum_str.py +31 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst.py +390 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_create.py +369 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_data.py +249 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_data_create.py +343 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_data_create_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_data_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_data_update.py +215 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_data_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_update.py +343 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/method_wst_update_method_type_id.py +7 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/operation.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/options.py +170 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/organization.py +378 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/organization_create.py +355 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/organization_information.py +172 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/organization_min.py +129 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/organization_update.py +355 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/orientation.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/page_number_prefix_by_method.py +277 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/page_number_start_per_method.py +277 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/paper_size.py +17 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/pdf_options.py +392 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/pdf_options_date_format.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/pdf_options_lang.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/pdf_options_paper_size.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/pdf_options_sort_figures_by.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/pdf_page_info.py +323 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/piezometer_model.py +199 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/piezometer_model_create.py +204 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/piezometer_model_update.py +206 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/piezometer_type.py +9 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/piezometer_vendor.py +141 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/pizeometer_units.py +163 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_data_stats.py +152 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_data_stats_percentiles.py +73 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_format.py +11 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_info_object.py +353 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_info_object_stats_type_0.py +77 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_sequence.py +116 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_sequence_options.py +109 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/plot_type.py +17 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/project.py +312 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/project_create.py +325 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/project_info.py +428 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/project_location_method_types.py +255 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/project_search.py +112 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/project_summary.py +455 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/project_update.py +277 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/reading_type.py +9 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/role.py +147 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/role_entity_enum.py +8 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/role_enum.py +10 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/sample_container_type.py +96 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/sample_material.py +96 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/sampler_type.py +96 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/sampling_technique.py +96 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/scales.py +26 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/scaling_mode.py +9 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/sounding_class.py +10 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/standard.py +133 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/standard_type.py +10 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/transformation_type.py +9 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/user.py +195 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/models/validation_error.py +105 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/py.typed +1 -0
- field_manager_python_client-4.4.82rc1/field-manager-python-client/types.py +44 -0
- field_manager_python_client-4.4.82rc1/pyproject.toml +28 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: field-manager-python-client
|
|
3
|
+
Version: 4.4.82rc1
|
|
4
|
+
Summary: A client library for accessing Field Manager Data API
|
|
5
|
+
Author: Jiyang Ye
|
|
6
|
+
Author-email: jiyang.ye@ngi.no
|
|
7
|
+
Maintainer: Jiyang Ye
|
|
8
|
+
Maintainer-email: jiyang.ye@ngi.no
|
|
9
|
+
Requires-Python: >=3.9,<4.0
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Requires-Dist: attrs (>=21.3.0)
|
|
16
|
+
Requires-Dist: httpx (>=0.20.0,<0.28.0)
|
|
17
|
+
Requires-Dist: python-dateutil (>=2.8.0,<3.0.0)
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
|
|
20
|
+
# field-manager-python-client
|
|
21
|
+
A client library for accessing Field Manager Data API
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
First, create a client:
|
|
25
|
+
|
|
26
|
+
```python
|
|
27
|
+
from field-manager-python-client import Client
|
|
28
|
+
|
|
29
|
+
client = Client(base_url="https://api.example.com")
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
If the endpoints you're going to hit require authentication, use `AuthenticatedClient` instead:
|
|
33
|
+
|
|
34
|
+
```python
|
|
35
|
+
from field-manager-python-client import AuthenticatedClient
|
|
36
|
+
|
|
37
|
+
client = AuthenticatedClient(base_url="https://api.example.com", token="SuperSecretToken")
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Now call your endpoint and use your models:
|
|
41
|
+
|
|
42
|
+
```python
|
|
43
|
+
from field-manager-python-client.models import MyDataModel
|
|
44
|
+
from field-manager-python-client.api.my_tag import get_my_data_model
|
|
45
|
+
from field-manager-python-client.types import Response
|
|
46
|
+
|
|
47
|
+
with client as client:
|
|
48
|
+
my_data: MyDataModel = get_my_data_model.sync(client=client)
|
|
49
|
+
# or if you need more info (e.g. status_code)
|
|
50
|
+
response: Response[MyDataModel] = get_my_data_model.sync_detailed(client=client)
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Or do the same thing with an async version:
|
|
54
|
+
|
|
55
|
+
```python
|
|
56
|
+
from field-manager-python-client.models import MyDataModel
|
|
57
|
+
from field-manager-python-client.api.my_tag import get_my_data_model
|
|
58
|
+
from field-manager-python-client.types import Response
|
|
59
|
+
|
|
60
|
+
async with client as client:
|
|
61
|
+
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)
|
|
62
|
+
response: Response[MyDataModel] = await get_my_data_model.asyncio_detailed(client=client)
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
By default, when you're calling an HTTPS API it will attempt to verify that SSL is working correctly. Using certificate verification is highly recommended most of the time, but sometimes you may need to authenticate to a server (especially an internal server) using a custom certificate bundle.
|
|
66
|
+
|
|
67
|
+
```python
|
|
68
|
+
client = AuthenticatedClient(
|
|
69
|
+
base_url="https://internal_api.example.com",
|
|
70
|
+
token="SuperSecretToken",
|
|
71
|
+
verify_ssl="/path/to/certificate_bundle.pem",
|
|
72
|
+
)
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
You can also disable certificate validation altogether, but beware that **this is a security risk**.
|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
client = AuthenticatedClient(
|
|
79
|
+
base_url="https://internal_api.example.com",
|
|
80
|
+
token="SuperSecretToken",
|
|
81
|
+
verify_ssl=False
|
|
82
|
+
)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
Things to know:
|
|
86
|
+
1. Every path/method combo becomes a Python module with four functions:
|
|
87
|
+
1. `sync`: Blocking request that returns parsed data (if successful) or `None`
|
|
88
|
+
1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
|
|
89
|
+
1. `asyncio`: Like `sync` but async instead of blocking
|
|
90
|
+
1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
|
|
91
|
+
|
|
92
|
+
1. All path/query params, and bodies become method arguments.
|
|
93
|
+
1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
|
|
94
|
+
1. Any endpoint which did not have a tag will be in `field-manager-python-client.api.default`
|
|
95
|
+
|
|
96
|
+
## Advanced customizations
|
|
97
|
+
|
|
98
|
+
There are more settings on the generated `Client` class which let you control more runtime behavior, check out the docstring on that class for more info. You can also customize the underlying `httpx.Client` or `httpx.AsyncClient` (depending on your use-case):
|
|
99
|
+
|
|
100
|
+
```python
|
|
101
|
+
from field-manager-python-client import Client
|
|
102
|
+
|
|
103
|
+
def log_request(request):
|
|
104
|
+
print(f"Request event hook: {request.method} {request.url} - Waiting for response")
|
|
105
|
+
|
|
106
|
+
def log_response(response):
|
|
107
|
+
request = response.request
|
|
108
|
+
print(f"Response event hook: {request.method} {request.url} - Status {response.status_code}")
|
|
109
|
+
|
|
110
|
+
client = Client(
|
|
111
|
+
base_url="https://api.example.com",
|
|
112
|
+
httpx_args={"event_hooks": {"request": [log_request], "response": [log_response]}},
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
# Or get the underlying httpx client to modify directly with client.get_httpx_client() or client.get_async_httpx_client()
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
You can even set the httpx client directly, but beware that this will override any existing settings (e.g., base_url):
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
import httpx
|
|
122
|
+
from field-manager-python-client import Client
|
|
123
|
+
|
|
124
|
+
client = Client(
|
|
125
|
+
base_url="https://api.example.com",
|
|
126
|
+
)
|
|
127
|
+
# Note that base_url needs to be re-set, as would any shared cookies, headers, etc.
|
|
128
|
+
client.set_httpx_client(httpx.Client(base_url="https://api.example.com", proxies="http://localhost:8030"))
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Building / publishing this package
|
|
132
|
+
This project uses [Poetry](https://python-poetry.org/) to manage dependencies and packaging. Here are the basics:
|
|
133
|
+
1. Update the metadata in pyproject.toml (e.g. authors, version)
|
|
134
|
+
1. If you're using a private repository, configure it with Poetry
|
|
135
|
+
1. `poetry config repositories.<your-repository-name> <url-to-your-repository>`
|
|
136
|
+
1. `poetry config http-basic.<your-repository-name> <username> <password>`
|
|
137
|
+
1. Publish the client with `poetry publish --build -r <your-repository-name>` or, if for public PyPI, just `poetry publish --build`
|
|
138
|
+
|
|
139
|
+
If you want to install this client into another project without publishing it (e.g. for development) then:
|
|
140
|
+
1. If that project **is using Poetry**, you can simply do `poetry add <path-to-this-client>` from that project
|
|
141
|
+
1. If that project is not using Poetry:
|
|
142
|
+
1. Build a wheel with `poetry build -f wheel`
|
|
143
|
+
1. Install that wheel from the other project `pip install <path-to-wheel>`
|
|
144
|
+
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
# field-manager-python-client
|
|
2
|
+
A client library for accessing Field Manager Data API
|
|
3
|
+
|
|
4
|
+
## Usage
|
|
5
|
+
First, create a client:
|
|
6
|
+
|
|
7
|
+
```python
|
|
8
|
+
from field-manager-python-client import Client
|
|
9
|
+
|
|
10
|
+
client = Client(base_url="https://api.example.com")
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
If the endpoints you're going to hit require authentication, use `AuthenticatedClient` instead:
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from field-manager-python-client import AuthenticatedClient
|
|
17
|
+
|
|
18
|
+
client = AuthenticatedClient(base_url="https://api.example.com", token="SuperSecretToken")
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Now call your endpoint and use your models:
|
|
22
|
+
|
|
23
|
+
```python
|
|
24
|
+
from field-manager-python-client.models import MyDataModel
|
|
25
|
+
from field-manager-python-client.api.my_tag import get_my_data_model
|
|
26
|
+
from field-manager-python-client.types import Response
|
|
27
|
+
|
|
28
|
+
with client as client:
|
|
29
|
+
my_data: MyDataModel = get_my_data_model.sync(client=client)
|
|
30
|
+
# or if you need more info (e.g. status_code)
|
|
31
|
+
response: Response[MyDataModel] = get_my_data_model.sync_detailed(client=client)
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Or do the same thing with an async version:
|
|
35
|
+
|
|
36
|
+
```python
|
|
37
|
+
from field-manager-python-client.models import MyDataModel
|
|
38
|
+
from field-manager-python-client.api.my_tag import get_my_data_model
|
|
39
|
+
from field-manager-python-client.types import Response
|
|
40
|
+
|
|
41
|
+
async with client as client:
|
|
42
|
+
my_data: MyDataModel = await get_my_data_model.asyncio(client=client)
|
|
43
|
+
response: Response[MyDataModel] = await get_my_data_model.asyncio_detailed(client=client)
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
By default, when you're calling an HTTPS API it will attempt to verify that SSL is working correctly. Using certificate verification is highly recommended most of the time, but sometimes you may need to authenticate to a server (especially an internal server) using a custom certificate bundle.
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
client = AuthenticatedClient(
|
|
50
|
+
base_url="https://internal_api.example.com",
|
|
51
|
+
token="SuperSecretToken",
|
|
52
|
+
verify_ssl="/path/to/certificate_bundle.pem",
|
|
53
|
+
)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
You can also disable certificate validation altogether, but beware that **this is a security risk**.
|
|
57
|
+
|
|
58
|
+
```python
|
|
59
|
+
client = AuthenticatedClient(
|
|
60
|
+
base_url="https://internal_api.example.com",
|
|
61
|
+
token="SuperSecretToken",
|
|
62
|
+
verify_ssl=False
|
|
63
|
+
)
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Things to know:
|
|
67
|
+
1. Every path/method combo becomes a Python module with four functions:
|
|
68
|
+
1. `sync`: Blocking request that returns parsed data (if successful) or `None`
|
|
69
|
+
1. `sync_detailed`: Blocking request that always returns a `Request`, optionally with `parsed` set if the request was successful.
|
|
70
|
+
1. `asyncio`: Like `sync` but async instead of blocking
|
|
71
|
+
1. `asyncio_detailed`: Like `sync_detailed` but async instead of blocking
|
|
72
|
+
|
|
73
|
+
1. All path/query params, and bodies become method arguments.
|
|
74
|
+
1. If your endpoint had any tags on it, the first tag will be used as a module name for the function (my_tag above)
|
|
75
|
+
1. Any endpoint which did not have a tag will be in `field-manager-python-client.api.default`
|
|
76
|
+
|
|
77
|
+
## Advanced customizations
|
|
78
|
+
|
|
79
|
+
There are more settings on the generated `Client` class which let you control more runtime behavior, check out the docstring on that class for more info. You can also customize the underlying `httpx.Client` or `httpx.AsyncClient` (depending on your use-case):
|
|
80
|
+
|
|
81
|
+
```python
|
|
82
|
+
from field-manager-python-client import Client
|
|
83
|
+
|
|
84
|
+
def log_request(request):
|
|
85
|
+
print(f"Request event hook: {request.method} {request.url} - Waiting for response")
|
|
86
|
+
|
|
87
|
+
def log_response(response):
|
|
88
|
+
request = response.request
|
|
89
|
+
print(f"Response event hook: {request.method} {request.url} - Status {response.status_code}")
|
|
90
|
+
|
|
91
|
+
client = Client(
|
|
92
|
+
base_url="https://api.example.com",
|
|
93
|
+
httpx_args={"event_hooks": {"request": [log_request], "response": [log_response]}},
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
# Or get the underlying httpx client to modify directly with client.get_httpx_client() or client.get_async_httpx_client()
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
You can even set the httpx client directly, but beware that this will override any existing settings (e.g., base_url):
|
|
100
|
+
|
|
101
|
+
```python
|
|
102
|
+
import httpx
|
|
103
|
+
from field-manager-python-client import Client
|
|
104
|
+
|
|
105
|
+
client = Client(
|
|
106
|
+
base_url="https://api.example.com",
|
|
107
|
+
)
|
|
108
|
+
# Note that base_url needs to be re-set, as would any shared cookies, headers, etc.
|
|
109
|
+
client.set_httpx_client(httpx.Client(base_url="https://api.example.com", proxies="http://localhost:8030"))
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Building / publishing this package
|
|
113
|
+
This project uses [Poetry](https://python-poetry.org/) to manage dependencies and packaging. Here are the basics:
|
|
114
|
+
1. Update the metadata in pyproject.toml (e.g. authors, version)
|
|
115
|
+
1. If you're using a private repository, configure it with Poetry
|
|
116
|
+
1. `poetry config repositories.<your-repository-name> <url-to-your-repository>`
|
|
117
|
+
1. `poetry config http-basic.<your-repository-name> <username> <password>`
|
|
118
|
+
1. Publish the client with `poetry publish --build -r <your-repository-name>` or, if for public PyPI, just `poetry publish --build`
|
|
119
|
+
|
|
120
|
+
If you want to install this client into another project without publishing it (e.g. for development) then:
|
|
121
|
+
1. If that project **is using Poetry**, you can simply do `poetry add <path-to-this-client>` from that project
|
|
122
|
+
1. If that project is not using Poetry:
|
|
123
|
+
1. Build a wheel with `poetry build -f wheel`
|
|
124
|
+
1. Install that wheel from the other project `pip install <path-to-wheel>`
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
""" Contains methods for accessing the API """
|
|
File without changes
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ...client import AuthenticatedClient, Client
|
|
7
|
+
from ...types import Response, UNSET
|
|
8
|
+
from ... import errors
|
|
9
|
+
|
|
10
|
+
from ...models.bff_file import BFFFile
|
|
11
|
+
from ...models.file_type import FileType
|
|
12
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
13
|
+
from ...types import UNSET, Unset
|
|
14
|
+
from typing import cast
|
|
15
|
+
from typing import cast, List
|
|
16
|
+
from typing import Dict
|
|
17
|
+
from typing import Union
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _get_kwargs(
|
|
22
|
+
project_id: str,
|
|
23
|
+
*,
|
|
24
|
+
file_types: Union[Unset, List[FileType]] = UNSET,
|
|
25
|
+
|
|
26
|
+
) -> Dict[str, Any]:
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
params: Dict[str, Any] = {}
|
|
32
|
+
|
|
33
|
+
json_file_types: Union[Unset, List[str]] = UNSET
|
|
34
|
+
if not isinstance(file_types, Unset):
|
|
35
|
+
json_file_types = []
|
|
36
|
+
for file_types_item_data in file_types:
|
|
37
|
+
file_types_item = file_types_item_data.value
|
|
38
|
+
json_file_types.append(file_types_item)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
params["file_types"] = json_file_types
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
params = {k: v for k, v in params.items() if v is not UNSET and v is not None}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
_kwargs: Dict[str, Any] = {
|
|
48
|
+
"method": "get",
|
|
49
|
+
"url": "/projects/{project_id}/bff/files".format(project_id=project_id,),
|
|
50
|
+
"params": params,
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
return _kwargs
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[HTTPValidationError, List['BFFFile']]]:
|
|
58
|
+
if response.status_code == 200:
|
|
59
|
+
response_200 = []
|
|
60
|
+
_response_200 = response.json()
|
|
61
|
+
for response_200_item_data in (_response_200):
|
|
62
|
+
response_200_item = BFFFile.from_dict(response_200_item_data)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
response_200.append(response_200_item)
|
|
67
|
+
|
|
68
|
+
return response_200
|
|
69
|
+
if response.status_code == 422:
|
|
70
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
return response_422
|
|
75
|
+
if client.raise_on_unexpected_status:
|
|
76
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
77
|
+
else:
|
|
78
|
+
return None
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[HTTPValidationError, List['BFFFile']]]:
|
|
82
|
+
return Response(
|
|
83
|
+
status_code=HTTPStatus(response.status_code),
|
|
84
|
+
content=response.content,
|
|
85
|
+
headers=response.headers,
|
|
86
|
+
parsed=_parse_response(client=client, response=response),
|
|
87
|
+
)
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def sync_detailed(
|
|
91
|
+
project_id: str,
|
|
92
|
+
*,
|
|
93
|
+
client: AuthenticatedClient,
|
|
94
|
+
file_types: Union[Unset, List[FileType]] = UNSET,
|
|
95
|
+
|
|
96
|
+
) -> Response[Union[HTTPValidationError, List['BFFFile']]]:
|
|
97
|
+
""" Get Files In Project
|
|
98
|
+
|
|
99
|
+
Get all database file objects in a project by project_id and possible filtered by file type.
|
|
100
|
+
|
|
101
|
+
Args:
|
|
102
|
+
project_id (str):
|
|
103
|
+
file_types (Union[Unset, List[FileType]]):
|
|
104
|
+
|
|
105
|
+
Raises:
|
|
106
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
107
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
108
|
+
|
|
109
|
+
Returns:
|
|
110
|
+
Response[Union[HTTPValidationError, List['BFFFile']]]
|
|
111
|
+
"""
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
kwargs = _get_kwargs(
|
|
115
|
+
project_id=project_id,
|
|
116
|
+
file_types=file_types,
|
|
117
|
+
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
response = client.get_httpx_client().request(
|
|
121
|
+
**kwargs,
|
|
122
|
+
)
|
|
123
|
+
|
|
124
|
+
return _build_response(client=client, response=response)
|
|
125
|
+
|
|
126
|
+
def sync(
|
|
127
|
+
project_id: str,
|
|
128
|
+
*,
|
|
129
|
+
client: AuthenticatedClient,
|
|
130
|
+
file_types: Union[Unset, List[FileType]] = UNSET,
|
|
131
|
+
|
|
132
|
+
) -> Optional[Union[HTTPValidationError, List['BFFFile']]]:
|
|
133
|
+
""" Get Files In Project
|
|
134
|
+
|
|
135
|
+
Get all database file objects in a project by project_id and possible filtered by file type.
|
|
136
|
+
|
|
137
|
+
Args:
|
|
138
|
+
project_id (str):
|
|
139
|
+
file_types (Union[Unset, List[FileType]]):
|
|
140
|
+
|
|
141
|
+
Raises:
|
|
142
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
143
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
144
|
+
|
|
145
|
+
Returns:
|
|
146
|
+
Union[HTTPValidationError, List['BFFFile']]
|
|
147
|
+
"""
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
return sync_detailed(
|
|
151
|
+
project_id=project_id,
|
|
152
|
+
client=client,
|
|
153
|
+
file_types=file_types,
|
|
154
|
+
|
|
155
|
+
).parsed
|
|
156
|
+
|
|
157
|
+
async def asyncio_detailed(
|
|
158
|
+
project_id: str,
|
|
159
|
+
*,
|
|
160
|
+
client: AuthenticatedClient,
|
|
161
|
+
file_types: Union[Unset, List[FileType]] = UNSET,
|
|
162
|
+
|
|
163
|
+
) -> Response[Union[HTTPValidationError, List['BFFFile']]]:
|
|
164
|
+
""" Get Files In Project
|
|
165
|
+
|
|
166
|
+
Get all database file objects in a project by project_id and possible filtered by file type.
|
|
167
|
+
|
|
168
|
+
Args:
|
|
169
|
+
project_id (str):
|
|
170
|
+
file_types (Union[Unset, List[FileType]]):
|
|
171
|
+
|
|
172
|
+
Raises:
|
|
173
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
174
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
175
|
+
|
|
176
|
+
Returns:
|
|
177
|
+
Response[Union[HTTPValidationError, List['BFFFile']]]
|
|
178
|
+
"""
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
kwargs = _get_kwargs(
|
|
182
|
+
project_id=project_id,
|
|
183
|
+
file_types=file_types,
|
|
184
|
+
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
response = await client.get_async_httpx_client().request(
|
|
188
|
+
**kwargs
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
return _build_response(client=client, response=response)
|
|
192
|
+
|
|
193
|
+
async def asyncio(
|
|
194
|
+
project_id: str,
|
|
195
|
+
*,
|
|
196
|
+
client: AuthenticatedClient,
|
|
197
|
+
file_types: Union[Unset, List[FileType]] = UNSET,
|
|
198
|
+
|
|
199
|
+
) -> Optional[Union[HTTPValidationError, List['BFFFile']]]:
|
|
200
|
+
""" Get Files In Project
|
|
201
|
+
|
|
202
|
+
Get all database file objects in a project by project_id and possible filtered by file type.
|
|
203
|
+
|
|
204
|
+
Args:
|
|
205
|
+
project_id (str):
|
|
206
|
+
file_types (Union[Unset, List[FileType]]):
|
|
207
|
+
|
|
208
|
+
Raises:
|
|
209
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
210
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
211
|
+
|
|
212
|
+
Returns:
|
|
213
|
+
Union[HTTPValidationError, List['BFFFile']]
|
|
214
|
+
"""
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
return (await asyncio_detailed(
|
|
218
|
+
project_id=project_id,
|
|
219
|
+
client=client,
|
|
220
|
+
file_types=file_types,
|
|
221
|
+
|
|
222
|
+
)).parsed
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Dict, List, Optional, Union, cast
|
|
3
|
+
|
|
4
|
+
import httpx
|
|
5
|
+
|
|
6
|
+
from ...client import AuthenticatedClient, Client
|
|
7
|
+
from ...types import Response, UNSET
|
|
8
|
+
from ... import errors
|
|
9
|
+
|
|
10
|
+
from ...models.bff_location_summary import BFFLocationSummary
|
|
11
|
+
from ...models.http_validation_error import HTTPValidationError
|
|
12
|
+
from typing import cast
|
|
13
|
+
from typing import cast, List
|
|
14
|
+
from typing import Dict
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _get_kwargs(
|
|
19
|
+
project_id: str,
|
|
20
|
+
|
|
21
|
+
) -> Dict[str, Any]:
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
_kwargs: Dict[str, Any] = {
|
|
29
|
+
"method": "get",
|
|
30
|
+
"url": "/projects/{project_id}/location_summaries".format(project_id=project_id,),
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
return _kwargs
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def _parse_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Optional[Union[HTTPValidationError, List['BFFLocationSummary']]]:
|
|
38
|
+
if response.status_code == 200:
|
|
39
|
+
response_200 = []
|
|
40
|
+
_response_200 = response.json()
|
|
41
|
+
for response_200_item_data in (_response_200):
|
|
42
|
+
response_200_item = BFFLocationSummary.from_dict(response_200_item_data)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
response_200.append(response_200_item)
|
|
47
|
+
|
|
48
|
+
return response_200
|
|
49
|
+
if response.status_code == 422:
|
|
50
|
+
response_422 = HTTPValidationError.from_dict(response.json())
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
return response_422
|
|
55
|
+
if client.raise_on_unexpected_status:
|
|
56
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
57
|
+
else:
|
|
58
|
+
return None
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
def _build_response(*, client: Union[AuthenticatedClient, Client], response: httpx.Response) -> Response[Union[HTTPValidationError, List['BFFLocationSummary']]]:
|
|
62
|
+
return Response(
|
|
63
|
+
status_code=HTTPStatus(response.status_code),
|
|
64
|
+
content=response.content,
|
|
65
|
+
headers=response.headers,
|
|
66
|
+
parsed=_parse_response(client=client, response=response),
|
|
67
|
+
)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
def sync_detailed(
|
|
71
|
+
project_id: str,
|
|
72
|
+
*,
|
|
73
|
+
client: AuthenticatedClient,
|
|
74
|
+
|
|
75
|
+
) -> Response[Union[HTTPValidationError, List['BFFLocationSummary']]]:
|
|
76
|
+
""" Get Location Summaries
|
|
77
|
+
|
|
78
|
+
This is a very heavy and specialized endpoint, only returning exactly what is needed for displaying
|
|
79
|
+
information
|
|
80
|
+
in the map (Locations, Methods and some numbers shown for the location in the map).
|
|
81
|
+
|
|
82
|
+
Args:
|
|
83
|
+
project_id (str):
|
|
84
|
+
|
|
85
|
+
Raises:
|
|
86
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
87
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
88
|
+
|
|
89
|
+
Returns:
|
|
90
|
+
Response[Union[HTTPValidationError, List['BFFLocationSummary']]]
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
kwargs = _get_kwargs(
|
|
95
|
+
project_id=project_id,
|
|
96
|
+
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
response = client.get_httpx_client().request(
|
|
100
|
+
**kwargs,
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
return _build_response(client=client, response=response)
|
|
104
|
+
|
|
105
|
+
def sync(
|
|
106
|
+
project_id: str,
|
|
107
|
+
*,
|
|
108
|
+
client: AuthenticatedClient,
|
|
109
|
+
|
|
110
|
+
) -> Optional[Union[HTTPValidationError, List['BFFLocationSummary']]]:
|
|
111
|
+
""" Get Location Summaries
|
|
112
|
+
|
|
113
|
+
This is a very heavy and specialized endpoint, only returning exactly what is needed for displaying
|
|
114
|
+
information
|
|
115
|
+
in the map (Locations, Methods and some numbers shown for the location in the map).
|
|
116
|
+
|
|
117
|
+
Args:
|
|
118
|
+
project_id (str):
|
|
119
|
+
|
|
120
|
+
Raises:
|
|
121
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
122
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
123
|
+
|
|
124
|
+
Returns:
|
|
125
|
+
Union[HTTPValidationError, List['BFFLocationSummary']]
|
|
126
|
+
"""
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
return sync_detailed(
|
|
130
|
+
project_id=project_id,
|
|
131
|
+
client=client,
|
|
132
|
+
|
|
133
|
+
).parsed
|
|
134
|
+
|
|
135
|
+
async def asyncio_detailed(
|
|
136
|
+
project_id: str,
|
|
137
|
+
*,
|
|
138
|
+
client: AuthenticatedClient,
|
|
139
|
+
|
|
140
|
+
) -> Response[Union[HTTPValidationError, List['BFFLocationSummary']]]:
|
|
141
|
+
""" Get Location Summaries
|
|
142
|
+
|
|
143
|
+
This is a very heavy and specialized endpoint, only returning exactly what is needed for displaying
|
|
144
|
+
information
|
|
145
|
+
in the map (Locations, Methods and some numbers shown for the location in the map).
|
|
146
|
+
|
|
147
|
+
Args:
|
|
148
|
+
project_id (str):
|
|
149
|
+
|
|
150
|
+
Raises:
|
|
151
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
152
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
153
|
+
|
|
154
|
+
Returns:
|
|
155
|
+
Response[Union[HTTPValidationError, List['BFFLocationSummary']]]
|
|
156
|
+
"""
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
kwargs = _get_kwargs(
|
|
160
|
+
project_id=project_id,
|
|
161
|
+
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
response = await client.get_async_httpx_client().request(
|
|
165
|
+
**kwargs
|
|
166
|
+
)
|
|
167
|
+
|
|
168
|
+
return _build_response(client=client, response=response)
|
|
169
|
+
|
|
170
|
+
async def asyncio(
|
|
171
|
+
project_id: str,
|
|
172
|
+
*,
|
|
173
|
+
client: AuthenticatedClient,
|
|
174
|
+
|
|
175
|
+
) -> Optional[Union[HTTPValidationError, List['BFFLocationSummary']]]:
|
|
176
|
+
""" Get Location Summaries
|
|
177
|
+
|
|
178
|
+
This is a very heavy and specialized endpoint, only returning exactly what is needed for displaying
|
|
179
|
+
information
|
|
180
|
+
in the map (Locations, Methods and some numbers shown for the location in the map).
|
|
181
|
+
|
|
182
|
+
Args:
|
|
183
|
+
project_id (str):
|
|
184
|
+
|
|
185
|
+
Raises:
|
|
186
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
187
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
188
|
+
|
|
189
|
+
Returns:
|
|
190
|
+
Union[HTTPValidationError, List['BFFLocationSummary']]
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
return (await asyncio_detailed(
|
|
195
|
+
project_id=project_id,
|
|
196
|
+
client=client,
|
|
197
|
+
|
|
198
|
+
)).parsed
|