Skip to content

Commit

Permalink
Add output_fields to class
Browse files Browse the repository at this point in the history
  • Loading branch information
ljstella committed Feb 3, 2025
1 parent 3e2b421 commit e46e0d3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions contentctl/objects/data_source.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
from __future__ import annotations
from typing import Optional, Any
from pydantic import Field, HttpUrl, model_serializer, BaseModel

from typing import Any, Optional

from pydantic import BaseModel, Field, HttpUrl, model_serializer

from contentctl.objects.security_content_object import SecurityContentObject


Expand All @@ -20,6 +23,7 @@ class DataSource(SecurityContentObject):
field_mappings: None | list = None
convert_to_log_source: None | list = None
example_log: None | str = None
output_fields: list[str] = None

@model_serializer
def serialize_model(self):
Expand Down

0 comments on commit e46e0d3

Please sign in to comment.