Skip to content

Commit 10555bd

Browse files
committed
repo version, source field (fixes #204)
1 parent aa654cd commit 10555bd

File tree

5 files changed

+8
-17
lines changed

5 files changed

+8
-17
lines changed

Diff for: .github/ISSUE_TEMPLATE/bug-report.md

-14
This file was deleted.

Diff for: docs/conf.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
import os
66
import sys
77

8+
from tastytrade import VERSION
9+
810
sys.path.insert(0, os.path.abspath(".."))
911

1012
# -- Project information -----------------------------------------------------
@@ -13,7 +15,7 @@
1315
project = "tastytrade"
1416
copyright = "2024, Graeme Holliday"
1517
author = "Graeme Holliday"
16-
release = "9.8"
18+
release = VERSION
1719

1820
# -- General configuration ---------------------------------------------------
1921
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

Diff for: pyproject.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@
22
requires = ["hatchling"]
33
build-backend = "hatchling.build"
44

5+
[tool.hatch.version]
6+
path = "tastytrade/__init__.py"
7+
58
[project]
69
name = "tastytrade"
7-
version = "9.8"
810
description = "An unofficial, sync/async SDK for Tastytrade!"
911
readme = "README.md"
1012
requires-python = ">=3.9"
@@ -18,6 +20,7 @@ dependencies = [
1820
"pydantic>=2.9.2",
1921
"websockets>=14.1,<15",
2022
]
23+
dynamic = ["version"]
2124

2225
[project.urls]
2326
Homepage = "https://github.com/tastyware/tastytrade"

Diff for: tastytrade/order.py

+1
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ class PlacedOrder(TastytradeJsonDataclass):
328328
complex_order_tag: Optional[str] = None
329329
preflight_id: Optional[Union[str, int]] = None
330330
order_rule: Optional[OrderRule] = None
331+
source: Optional[str] = None
331332

332333
@model_validator(mode="before")
333334
@classmethod

Diff for: uv.lock

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)