Records Only Classes
Bases: AbstractRecordsOnlyAPI
A class to interact with the BindingManualQCAPI endpoint.
Source code in yeastdnnexplorer/interface/BindingManualQCAPI.py
10 11 12 13 14 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 105 106 |
|
bulk_update_url_suffix: str
property
writable
¶
The URL suffix for updating multiple records in the same request.
__init__(**kwargs)
¶
Initialize the BindingManualQCAPI object.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
kwargs |
parameters to pass to AbstractAPI via AbstractRecordsOnlyAPI. |
{}
|
Source code in yeastdnnexplorer/interface/BindingManualQCAPI.py
13 14 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 |
|
update(df, **kwargs)
¶
Update the records in the database.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df |
DataFrame
|
The DataFrame containing the records to update. |
required |
kwargs |
Any
|
Additional fields to include in the payload. |
{}
|
Returns:
Type | Description |
---|---|
requests.Response
|
The response from the POST request. |
Raises:
Type | Description |
---|---|
requests.RequestException
|
If the request fails. |
Source code in yeastdnnexplorer/interface/BindingManualQCAPI.py
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 |
|