mirror of
https://github.com/NexVeridian/wikidata-to-surrealdb.git
synced 2025-09-02 09:59:13 +00:00
progress bar, fix docker
This commit is contained in:
parent
8b3311ff21
commit
ee15b46ae2
8 changed files with 71 additions and 25 deletions
|
@ -125,8 +125,8 @@ fn get_name(entity: &Entity) -> String {
|
|||
entity
|
||||
.labels
|
||||
.get(&Lang(WIKIDATA_LANG.to_string()))
|
||||
.expect("No label found")
|
||||
.to_string()
|
||||
.map(|label| label.to_string())
|
||||
.unwrap_or_default()
|
||||
}
|
||||
|
||||
fn get_description(entity: &Entity) -> Option<String> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue