Commit Graph

49 Commits

Author SHA1 Message Date
Dion Moult a46228a57e Hotfix to generate IOS docs until we properly package bsdd 2025-11-20 21:16:57 +11:00
Andrej730 428d88f01c Fix missing bsdd pydantic dependency in #7145 2025-11-17 16:30:26 +05:00
Andrej730 8b751577f4 Fix Ruff UP037 (unnecessary quotes in annotations) 2025-09-30 13:04:48 +05:00
Andrej730 6fbe982623 Fix Ruff UP006 (List -> list) 2025-09-30 13:04:48 +05:00
c-mellueh 9bc8012aa4 remove old function 2025-09-29 23:27:04 +10:00
c-mellueh 407962ec93 black 2025-09-29 23:27:04 +10:00
c-mellueh 21fd09b424 add bsdd_json 2025-09-29 23:27:04 +10:00
Andrej730 a12bb343ca Fix RUF015 (next() instead of list comprehensions[0])
https://docs.astral.sh/ruff/rules/-iterable-allocation-for-first-element/
2025-06-16 19:55:25 +05:00
Andrej 8b4683aef1 replace api.run with static methods 2025-06-09 18:03:19 +05:00
Andrej 92a222cda7 typing 2025-05-30 18:13:10 +05:00
Andrej 62a0c258b2 Fix Ruff UP012 (unnecessary-encode-utf8)
https://docs.astral.sh/ruff/rules/unnecessary-encode-utf8/
2025-05-28 18:24:11 +05:00
Dion Moult a929ab0c4f Big bSDD overhaul for properties and classifications. See description.
* bSDD now supports a couple more args when querying the API.
 * Fetching properties via the classification UI has been removed
 * The bSDD dictionary selector has been merged into the classification
source dropdown
 * The bSDD dictionary selector merged into the property set name
dropdown
 * You can now search for properties in the bSDD directly when adding
properties
 * You can browse properties via groups or classifications (based on
assigned classifications)
 * You can browse properties via keyword (with some limitations due to
the API)
 * You can selectively choose which properties you then want to add.
Only basic support right now.
2025-05-28 20:51:08 +10:00
Dion Moult 22f10e5549 Fix #6669. bSDD now supports test dictionaries, refactor domain to dictionary, support zero length keyword searches, multi-dict support, and basic tests.
Feature tests can now have more sophisticated per UIList item spies.
2025-05-17 21:28:12 +10:00
Andrej730 95e76c3ab9 bsdd classes - typing for not required attributes 2024-09-20 22:03:19 +05:00
Andrej730 18476ec7f3 bsdd - update classes according to the latest API
Also added yml_to_classes.py script that can extract the classes automatically
2024-09-20 22:03:19 +05:00
Andrej730 eb823a5ecd bsdd search to check whether query is long enough
It's an API requirement and using shorter queries was giving confusing results.
https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20OpenAPI.yaml
2024-09-18 18:44:33 +05:00
ArturTomczak bbf8ebcb52 add user-agent header to bSDD calls
As explained in: https://github.com/buildingSMART/bSDD/blob/master/Documentation/bSDD%20API.md#http-header-x-user-agent
2024-08-07 21:12:49 +10:00
Andrej730 8523bb317a bcf, bsdd - add "make test" 2024-08-01 18:01:59 +05:00
Andrej730 6484a529b0 black format 2024-07-26 18:29:18 +05:00
Andrej730 ee5c401823 bsdd - expose bsdd props descriptions to ui
Example - https://imgur.com/a/xUUeuF5
2024-07-26 16:29:25 +05:00
Dion Moult e7b791f4a2 Run black on utils 2024-07-26 12:16:36 +10:00
Andrej730 eac4e80ee9 typing 2024-07-25 18:36:17 +05:00
Dion Moult 0ecc3d3e2a Share common makefile instructions, use venv for running build, and separate dist/build dirs 2024-07-18 23:43:12 +10:00
Dion Moult 2d5be6cf89 Search replace 0.7.0 with 0.8.0 2024-06-27 11:49:12 +10:00
Dion Moult d192217e78 bSDD workflow now uses VERSION 2024-06-12 18:44:51 +10:00
Dion Moult aba8683d5e Fix #4303. Declare dependencies for ifctester. 2024-04-18 10:48:23 +02:00
Dion Moult 42db0b18b0 Add bSDD makefile 2024-04-18 10:48:23 +02:00
Dion Moult 89b1616d2b Publish bSDD to PyPI 2024-04-18 10:48:23 +02:00
jgunstone 487c96e84f add get_properties test validating that offset and limit are correctly applied 2024-04-17 14:46:07 +02:00
jgunstone db811152b8 add limit and offset to client functions 2024-04-17 14:46:07 +02:00
jgunstone d718afc754 🔧update pip install command assuming that this branch will be merged back 2024-04-17 14:42:54 +02:00
jgunstone b3441fd5ae update license and version 2024-04-17 14:42:54 +02:00
jgunstone 94b5647e56 📝add docs about so to install and develop this package standalone 2024-04-17 14:42:54 +02:00
jgunstone cb3ff4b05a add simple tests to ensure the package is working as expected 2024-04-17 14:42:54 +02:00
jgunstone 2a21ccf0aa 🐛 add limit and offset kwargs to get_classes. TODO- I think this needs doing throughout... 2024-04-17 14:42:54 +02:00
jgunstone 8a409507c8 add version 2024-04-17 14:42:54 +02:00
jgunstone 30cedd16ee 🔧 add pyproject.toml and __init__.py 2024-04-17 14:42:54 +02:00
Christoph Mellueh 9ea086bdc3 add typing to BsDD 2024-04-16 11:26:35 +02:00
Christoph Mellueh 4c382760d4 add deprecation warnings 2024-04-16 11:26:35 +02:00
Christoph Mellueh 7f1a997797 update new api to BsDD 2024-04-16 11:26:35 +02:00
Dion Moult 9736d08064 Migrate more documentation to the official Sphinx docs and mention IfcOpenShell-WASM as an installation option 2024-04-16 10:37:17 +02:00
Dion Moult 28ddd2aefc Implement classification searching in bSDD library 2024-04-16 10:37:16 +02:00
Martin15135215 f0a4244c77 CITATION.cff for bsdd 2024-04-15 11:07:37 +02:00
Dion Moult 94f0612752 WIP copyright statements. See #1082. Also IFCP6 is now IFC4D as we will expand into more 4D apps and widen the scope. 2021-08-05 13:21:55 +10:00
Dion Moult 5cf07a910e Include licenses on IfcOpenShell sub-utilities. See #1082. 2021-08-04 10:51:31 +10:00
Dion Moult 4ff60553cc Fix bug with inability to refresh token in bsdd api. Thanks TestPrab! 2021-07-03 17:45:29 +10:00
Dion Moult fd83564af0 Sorry forgot to commit 2021-04-29 19:37:59 +10:00
Dion Moult 357fcded71 Implement OAuth authorization in the bSDD library 2021-04-28 13:27:31 +10:00
Dion Moult 1c66f986cc Implement basebones bSDD API client library. 2021-04-24 20:31:50 +10:00