Skip to content

Update DP writer tool to read header info from dictionary, fix bug #216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 18, 2025

Conversation

jwest115
Copy link
Collaborator

Related Issue(s)
Has Unit Tests (y/n)
Documentation Included (y/n)

Change Description

  • Updated DP writer tool to use the DP header information defined in the dictionary (closes #3632)
  • Fixed issue where string types were not parsed by the tool (closes #3465)

Testing/Review Recommendations

Ran DP writer tests successfully

size: int

@field_validator('kind')
def kind_qualifiedIdentifier(cls, v):

Check notice

Code scanning / CodeQL

First parameter of a method is not named 'self' Note

Normal methods should have 'self', rather than 'cls', as their first parameter.
underlyingType: Union[StructType, ArrayType, IntegerType, BoolType, FloatType, StringType, QualifiedType]

@field_validator('kind')
def kind_qualifiedIdentifier(cls, v):

Check notice

Code scanning / CodeQL

First parameter of a method is not named 'self' Note

Normal methods should have 'self', rather than 'cls', as their first parameter.
@jwest115 jwest115 marked this pull request as ready for review June 18, 2025 17:32
@LeStarch LeStarch merged commit 73fb0e1 into nasa:devel Jun 18, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update DP decoder tool to use types defined in dictionary fprime-dp-write unable to parse json dictionary
2 participants