mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
16224 missing core types
This commit is contained in:
parent
7a217afc6a
commit
087ae9a963
@ -19,7 +19,8 @@ __all__ = (
|
||||
@strawberry_django.type(
|
||||
models.DataFile,
|
||||
exclude=['data',],
|
||||
filters=DataFileFilter
|
||||
filters=DataFileFilter,
|
||||
pagination=True
|
||||
)
|
||||
class DataFileType(BaseObjectType):
|
||||
source: Annotated["DataSourceType", strawberry.lazy('core.graphql.types')]
|
||||
@ -28,7 +29,8 @@ class DataFileType(BaseObjectType):
|
||||
@strawberry_django.type(
|
||||
models.DataSource,
|
||||
fields='__all__',
|
||||
filters=DataSourceFilter
|
||||
filters=DataSourceFilter,
|
||||
pagination=True
|
||||
)
|
||||
class DataSourceType(NetBoxObjectType):
|
||||
|
||||
@ -38,7 +40,8 @@ class DataSourceType(NetBoxObjectType):
|
||||
@strawberry_django.type(
|
||||
models.ObjectChange,
|
||||
fields='__all__',
|
||||
filters=ObjectChangeFilter
|
||||
filters=ObjectChangeFilter,
|
||||
pagination=True
|
||||
)
|
||||
class ObjectChangeType(BaseObjectType):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user