Skip to content

Commit 1f7fce7

Browse files
committed
feat(deps): Make library compatible with Pydantic V2
BREAKING CHANGE: Update from Pydantic V1 to V2.
1 parent 98f403f commit 1f7fce7

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
[![Build Status](https://travis-ci.com/ladybug-tools/dragonfly-schema.svg?branch=master)](https://travis-ci.com/ladybug-tools/dragonfly-schema)
2-
[![Coverage Status](https://coveralls.io/repos/github/ladybug-tools/dragonfly-schema/badge.svg?branch=master)](https://coveralls.io/github/ladybug-tools/dragonfly-schema)
1+
[![Build Status](https://github.com/ladybug-tools/dragonfly-schema/workflows/CI/badge.svg)](https://github.com/ladybug-tools/dragonfly-schema/actions)
32

4-
[![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)
3+
[![Python 3.10](https://img.shields.io/badge/python3.10-green.svg)](https://www.python.org/downloads/release/python-3100/) [![Python 3.7](https://img.shields.io/badge/python-3.7-blue.svg)](https://www.python.org/downloads/release/python-370/)
54

65
# dragonfly-schema
76

dragonfly_schema/window_parameter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class RepeatingWindowRatio(_WindowParameterBase):
132132
...,
133133
ge=0,
134134
description='A number for the target separation between individual window '
135-
'centerlines. If this number is larger than the parent rectangle base, '
135+
'center lines. If this number is larger than the parent rectangle base, '
136136
'only one window will be produced.'
137137
)
138138

@@ -180,7 +180,7 @@ class RepeatingWindowWidthHeight(_WindowParameterBase):
180180
...,
181181
ge=0,
182182
description='A number for the target separation between individual window '
183-
'centerlines. If this number is larger than the parent rectangle base, '
183+
'center lines. If this number is larger than the parent rectangle base, '
184184
'only one window will be produced.'
185185
)
186186

0 commit comments

Comments
 (0)