Skip to content

Commit

Permalink
Merge branch 'fix/job-href' into 'develop'
Browse files Browse the repository at this point in the history
AsyncJob model add href prop

See merge request core/sevenbridges-python!113
  • Loading branch information
Borislav Dugosija committed Oct 18, 2024
2 parents f5c7d98 + a670548 commit 10fe4aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sevenbridges/models/async_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from sevenbridges.models.file import FileBulkRecord
from sevenbridges.meta.transformer import Transform
from sevenbridges.meta.fields import (
BasicListField, DateTimeField, IntegerField, StringField,
BasicListField, DateTimeField, IntegerField, StringField, HrefField
)

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -42,6 +42,7 @@ class AsyncJob(Resource):
'bulk_move_files': '/async/files/move',
}

href = HrefField(read_only=True)
id = StringField(read_only=True)
type = StringField(read_only=True)
state = StringField(read_only=True)
Expand Down

0 comments on commit 10fe4aa

Please sign in to comment.