Load table token for data access. Corresponds to Python `RESTApi.load_table_token`.
(
&self,
identifier: &Identifier,
)
| 440 | /// |
| 441 | /// Corresponds to Python `RESTApi.load_table_token`. |
| 442 | pub async fn load_table_token( |
| 443 | &self, |
| 444 | identifier: &Identifier, |
| 445 | ) -> Result<super::api_response::GetTableTokenResponse> { |
| 446 | let database = identifier.database(); |
| 447 | let table = identifier.object(); |
| 448 | validate_non_empty_multi(&[(database, "database name"), (table, "table name")])?; |
| 449 | let path = self.resource_paths.table_token(database, table); |
| 450 | self.client.get(&path, None::<&[(&str, &str)]>).await |
| 451 | } |
| 452 | |
| 453 | // ==================== Commit Operations ==================== |
| 454 |
no test coverage detected