Skip to content

Added Day , Month and Year Generators - #30

Merged
PabloPardoGarcia merged 6 commits into
glassflow:mainfrom
aditypan:feat/new_generators
May 29, 2026
Merged

PabloPardoGarcia merged 6 commits into
glassflow:mainfrom
aditypan:feat/new_generators

Conversation

@aditypan

@aditypan aditypan commented Apr 10, 2026 •

Copy link
Copy Markdown
Contributor

This change includes addition of new generators: DAY , MONTH and YEAR

Users can use to generate random days , month and year without having to reply on datetime configs.


record = generate_one(
    {
        "day_": "$day",
        "month_": "$month",
        "year_": "$year",
    }
)

Output - {'day_': '25', 'month_': '12', 'year_': '2023}

@vercel

vercel Bot commented Apr 10, 2026

Copy link
Copy Markdown

@aditypan is attempting to deploy a commit to the GlassFlow Team on Vercel.

A member of the Team first needs to authorize it.

@PabloPardoGarcia
PabloPardoGarcia self-requested a review April 21, 2026 07:49

@PabloPardoGarcia PabloPardoGarcia left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides the comment I left, the rest looks good! 🚀

Comment thread glassgen/generator/generators.py Resolved
@github-actions

Copy link
Copy Markdown
Contributor

Coverage

Test Coverage Report
FileStmtsMissCoverMissing
__init__.py60100% 
config.py791186%104–106, 108–109, 111–113, 115, 125–126
interface.py601181%14–16, 40–44, 54, 65–66
generator
   __init__.py50100% 
   batch_controller.py39392%16, 21–22
   duplication.py641281%34, 38–39, 41–43, 45–46, 48–50, 52
   generator.py67494%41, 54, 91, 108
   generators.py1062477%64, 121, 150–152, 154–157, 159–160, 162–164, 166, 173, 175–176, 179, 191, 194, 208, 264, 269
schema
   __init__.py40100% 
   base.py70100% 
   schema.py92792%50, 68, 74–75, 115–116, 141
   user_schema.py16193%30
sinks
   __init__.py140100% 
   base.py90100% 
   csv_sink.py47197%41
   kafka_sink.py281353%20–23, 27–28, 33, 36–38, 43–44, 47
   ndjson_sink.py250100% 
   webhook_sink.py260100% 
   yield_sink.py100100% 
TOTAL7048787% 

@vercel

vercel Bot commented May 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
glassgen Ready Ready Preview, Comment May 29, 2026 9:19am

Request Review

@PabloPardoGarcia
PabloPardoGarcia merged commit 4d9cf3a into glassflow:main May 29, 2026
7 checks passed

This branch was successfully deployed

1 active deployment
Preview — 8271a257 Deployed May 29, 2026 by vercel[bot]
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.

2 participants