Andrej730
fb16e91249
Remove use of deprecated datetime.utcnow()
...
To fix warnings below:
```
<python-input-1>:1: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
```
2026-03-16 15:10:03 +05:00
Andrej730
92c979fbbf
black .
2026-02-27 14:52:55 +05:00
Andrej730
13be6ccd45
Sort imports
2025-12-19 18:53:14 +05:00
Thomas Krijnen
1789406299
Ruff
2025-10-26 12:04:22 +01:00
Andrej
5d632eae3d
opencdeserver - fix bug with DocumentVersions initialization
2025-06-10 18:54:36 +05:00
Andrej
1608677d40
ifcopenshell.api.run to use explicit kwargs instead of unpacking
2025-06-10 18:54:35 +05:00
Andrej
02d359d0e6
Fix Ruff UP035 (also deprecated annotation symbols)
2025-06-09 18:03:19 +05:00
Andrej
7d4176d105
Fix Ruff UP006 (deprecated annotation symbols)
2025-06-09 18:03:18 +05:00
Andrej
5f5ba72919
Fix Ruff UP003 (taking type of primitive)
...
https://docs.astral.sh/ruff/rules/UP003
2025-05-28 18:24:13 +05:00
Andrej
6dbf86382f
Fix Ruff UP018 (native-literals)
...
https://docs.astral.sh/ruff/rules/native-literals/
2025-05-28 18:24:11 +05:00
Andrej
3b50993b21
ifc2ca, bcf, opencdeserver - add Python 3.9 support
...
Was breaking due to `|` operator used in annotations instead of `Union`
2025-05-28 18:24:11 +05:00
Dion Moult
977f3c7dcc
Fix #5243 . Remove usage of types_with_super which is no longer available.
2024-09-06 10:38:19 +10:00
Dion Moult
e7b791f4a2
Run black on utils
2024-07-26 12:16:36 +10:00
dependabot[bot]
0384de46a4
Bump pydantic from 1.10.7 to 1.10.13 in /src/opencdeserver/api/app ( #4585 )
...
Bumps [pydantic](https://github.com/pydantic/pydantic ) from 1.10.7 to 1.10.13.
- [Release notes](https://github.com/pydantic/pydantic/releases )
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md )
- [Commits](https://github.com/pydantic/pydantic/compare/v1.10.7...v1.10.13 )
---
updated-dependencies:
- dependency-name: pydantic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-03 16:21:08 +10:00
Andrej730
45dacc3612
migrate docs urls
2024-04-17 15:18:45 +05:00
dependabot[bot]
8f9c97a663
Bump fastapi from 0.101.0 to 0.109.1 in /src/opencdeserver/api/app
...
Bumps [fastapi](https://github.com/tiangolo/fastapi ) from 0.101.0 to 0.109.1.
- [Release notes](https://github.com/tiangolo/fastapi/releases )
- [Commits](https://github.com/tiangolo/fastapi/compare/0.101.0...0.109.1 )
---
updated-dependencies:
- dependency-name: fastapi
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-07 09:31:38 +11:00
marwiss
4ed8310b93
Correct protocol to encrypted HTTPS
2024-02-06 09:55:11 +11:00
marwiss
31be899dc9
Replace existing code in src/opencdeserver with code from the "Kontroll OpenCDE API:s server" POC project on https://github.com/marwiss/Kontroll
2024-02-06 09:55:11 +11:00
dependabot[bot]
52c686b656
Bump flask from 2.0.1 to 2.3.2 in /src/opencdeserver
...
Bumps [flask](https://github.com/pallets/flask ) from 2.0.1 to 2.3.2.
- [Release notes](https://github.com/pallets/flask/releases )
- [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst )
- [Commits](https://github.com/pallets/flask/compare/2.0.1...2.3.2 )
---
updated-dependencies:
- dependency-name: flask
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-02 10:06:31 +10:00
luz paz
33199b4bb6
Fix various typos
2022-08-27 15:34:16 +02:00
Dion Moult
6addbd935f
Add copyright boilerplate to BCF and OpenCDE code
2021-08-29 16:51:56 +10:00
Prabhat Singh
5782691cdb
minor fix ( #1704 )
2021-08-29 15:48:37 +10:00