Access fields data
See original GitHub issueHi again,
So I encountered an issue when trying to integrate msgspec into the internal of our libraries, namely - there is no way for me to easily access the field information on a struct.
The __struct_fields__
attribute only offers a tuple of field names. If I want to access the metadata regarding each field I have to result to some rather inefficent methods such as inspecting the attributes, which is very slow.
I would like to regard a simple and fast way to get the following information about a field: its typing, any default value defined for it, and other meta data available.
Issue Analytics
- State:
- Created 9 months ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Create a table and add fields - Microsoft Support
When you create an Access database, you store your data in tables—subject-based lists that contain rows and columns. For instance, you can create...
Read more >Understand Field Types and Properties - CustomGuide
Because there are so many different types of data, Access offers several different types of fields. A field's data type restricts what type...
Read more >MS Access Field Properties for Making Sure That Data Entries ...
A look at MS Access Field Properties settings · Field Size · Format · Decimal Places · Input Mask · Caption · Default...
Read more >Fields and Datatypes
Microsoft Access database fields are created by entering a field name and a field data type in each row of the field entry...
Read more >Use the Field List in Access - Instructions - TeachUcomp, Inc.
You can use the Field List in Access to easily add data fields to a data entry form. Most forms are connected to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, it just may take a bit. This is purely a hobby project done on my own time.
I understand. We also develop Starlite as a “hobby” - although a very serious one. This is the main blocker for us to migrate our internal parsing mechanism to using msgspec, which we are pretty eager on. Lemme know if there is anything I can help with.