dimine-python-sdk 0.2.5__py3-none-any.whl → 0.2.6__py3-none-any.whl
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.
- dimine_python_sdk/__init__.py +1 -1
- dimine_python_sdk/cli/commands/file.py +1 -1
- dimine_python_sdk/site/reference/cli/commands/file.html +1 -1
- dimine_python_sdk/site/search/search_index.json +1 -1
- dimine_python_sdk/site/sitemap.xml +84 -84
- dimine_python_sdk/site/sitemap.xml.gz +0 -0
- {dimine_python_sdk-0.2.5.dist-info → dimine_python_sdk-0.2.6.dist-info}/METADATA +1 -1
- {dimine_python_sdk-0.2.5.dist-info → dimine_python_sdk-0.2.6.dist-info}/RECORD +11 -11
- {dimine_python_sdk-0.2.5.dist-info → dimine_python_sdk-0.2.6.dist-info}/WHEEL +0 -0
- {dimine_python_sdk-0.2.5.dist-info → dimine_python_sdk-0.2.6.dist-info}/entry_points.txt +0 -0
- {dimine_python_sdk-0.2.5.dist-info → dimine_python_sdk-0.2.6.dist-info}/top_level.txt +0 -0
dimine_python_sdk/__init__.py
CHANGED
|
@@ -4,7 +4,7 @@ from pathlib import Path
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
6
|
DOCS_PATH = Path(__file__).parent / "docs"
|
|
7
|
-
__VERSION__ = "0.2.
|
|
7
|
+
__VERSION__ = "0.2.6" # 由 build.bat 中的 generate_version.py 自动更新
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
_LAZY_IMPORTS: dict[str, Any] = {}
|
|
@@ -31,7 +31,7 @@ def cmd_file_tree(fmt: str) -> None:
|
|
|
31
31
|
except Exception:
|
|
32
32
|
pass
|
|
33
33
|
result.append(file_info)
|
|
34
|
-
return {"file_count": len(result), "files": result}
|
|
34
|
+
return {"file_count": len(result), "files": result, "info":"注:非dmf文件layers为空是正常的,他有三维对象显示在Dimine中。"}
|
|
35
35
|
|
|
36
36
|
try:
|
|
37
37
|
result = run_cli_async(_run())
|
|
@@ -2341,7 +2341,7 @@
|
|
|
2341
2341
|
<span class="k">except</span> <span class="ne">Exception</span><span class="p">:</span>
|
|
2342
2342
|
<span class="k">pass</span>
|
|
2343
2343
|
<span class="n">result</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="n">file_info</span><span class="p">)</span>
|
|
2344
|
-
<span class="k">return</span> <span class="p">{</span><span class="s2">"file_count"</span><span class="p">:</span> <span class="nb">len</span><span class="p">(</span><span class="n">result</span><span class="p">),</span> <span class="s2">"files"</span><span class="p">:</span> <span class="n">result</span><span class="p">}</span>
|
|
2344
|
+
<span class="k">return</span> <span class="p">{</span><span class="s2">"file_count"</span><span class="p">:</span> <span class="nb">len</span><span class="p">(</span><span class="n">result</span><span class="p">),</span> <span class="s2">"files"</span><span class="p">:</span> <span class="n">result</span><span class="p">,</span> <span class="s2">"info"</span><span class="p">:</span><span class="s2">"注:非dmf文件layers为空是正常的,他有三维对象显示在Dimine中。"</span><span class="p">}</span>
|
|
2345
2345
|
|
|
2346
2346
|
<span class="k">try</span><span class="p">:</span>
|
|
2347
2347
|
<span class="n">result</span> <span class="o">=</span> <span class="n">run_cli_async</span><span class="p">(</span><span class="n">_run</span><span class="p">())</span>
|