You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+28-24Lines changed: 28 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,13 @@
2
2
3
3
### With Rye
4
4
5
-
We use [Rye](https://rye.astral.sh/) to manage dependencies so we highly recommend [installing it](https://rye.astral.sh/guide/installation/) as it will automatically provision a Python environment with the expected Python version.
5
+
We use [Rye](https://rye.astral.sh/) to manage dependencies because it will automatically provision a Python environment with the expected Python version. To set it up, run:
6
6
7
-
After installing Rye, you'll just have to run this command:
7
+
```sh
8
+
$ ./scripts/bootstrap
9
+
```
10
+
11
+
Or [install Rye manually](https://rye.astral.sh/guide/installation/) and run:
@@ -335,7 +335,7 @@ with client.inference_pipelines.data.with_streaming_response.stream(
335
335
"output": "42",
336
336
"tokens": 7,
337
337
"cost": 0.02,
338
-
"timestamp": 1620000000,
338
+
"timestamp": 1610000000,
339
339
}
340
340
],
341
341
) as response:
@@ -425,6 +425,21 @@ We take backwards-compatibility seriously and work hard to ensure you can rely o
425
425
426
426
We are keen for your feedback; please open an [issue](https://www.github.com/openlayer-ai/openlayer-python/issues) with questions, bugs, or suggestions.
427
427
428
+
### Determining the installed version
429
+
430
+
If you've upgraded to the latest version but aren't seeing any new features you were expecting then your python environment is likely still using an older version.
431
+
432
+
You can determine the version that is being used at runtime with:
433
+
434
+
```py
435
+
import openlayer
436
+
print(openlayer.__version__)
437
+
```
438
+
428
439
## Requirements
429
440
430
441
Python 3.7 or higher.
442
+
443
+
## Contributing
444
+
445
+
See [the contributing documentation](./CONTRIBUTING.md).
0 commit comments